In linux, lftp connects to the ftp server to upload and download Java code usage: lftp ftp: // User name: password @ IP> download directory mirror DIRNAME [download the entire directory contains subdirectories, we recommend that you use this command to upload the mirror-R dinam directory... usage: lftp ftp: // User name: password @ IP> download directory mirror DIRNAME [download the entire directory containing subdirectories, we recommend that you use this command to upload the mirror-R dirm directory. method 1> mget-d DIRNAME/* method 2> mirror DIRNAME upload directory method 1> mput-d DIRNAME/* method 2> mirror-r dirname download Common File> get FILENAME multiple common files> mget * lftp search file method ls-R | grep. iso find-d 3 | grep. when using iso, take a look at help bookmark labels cat/more/less to display file content (use cat and more) zcat/zmore/zless display file content (use zcatand zmore, except zcatand zmorecan only directly operate .gz files) bzcat/bzmore/bzless display file content (bzcatand bzmore, except bzcatand bzmorecan only directly operate .bz2 files) get/mget/pget capture file put/mput/upload file mirror (-R) download upload directory