lrzsz is a program that can replace ftp upload and download in Linux. In Linux, plug-ins are supported for direct drag-and-drop upload; rz and sz are also supported for command upload and download.
> yum -y install lrzsz
Upload can be dragged directly to upload files to the current directory. You can also use commands to select the files to be uploaded, and you can specify multiple files at a time.
> rz
Using xshell will pop up a file selection box.
> sz rumenz.txt
Or pop up a selection box to save the file
> sz rumenz.txt rumenz1.txt
rumenz
directory, excluding the folders under rumenz
> sz rumenz/*
The above is the detailed content of linux - drag and drop to upload files. For more information, please follow other related articles on the PHP Chinese website!