Connect lftp to the ftp server in linux for upload and download

Source: Internet
Author: User
In linux, lftp connects to the ftp server for upload & amp; download Java code usage: lftpftp: // user name: password @ IP & gt; download directory nvidirname [download the entire directory contains subdirectories, we recommend that you use this command to upload the mirror-rdinam directory ...... 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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.