Linux under Lftp use:

Source: Internet
Author: User
Tags aliases

1.LFTP Login:

Lftp Ftp://user:[email protected]:p ORT
Lftp User:[email protected]:p ORT
Lftp site-p port-u User,password
Lftp Site:port-u User,password

2. Modify the bookmark file to avoid logging in with a clear text password:

~/.lftp/bookmarks

The format is as follows:

VI Bookmarks
Alias ftp://username: password @ server: 21

Lftp aliases

3. Common commands:

Ls
Displays a list of remote files (!ls displays a list of local files).
Cd
Switch the remote directory (LCD switch local directory).
Get
Download the remote file.
Mget
Download the remote file (you can use a wildcard character, which is *).
Pget
Use multiple threads to download remote files with a preset of five.
Mirror
Download/upload (mirror-r)/Synchronize the entire directory.
Put
Upload the file.
Mput
Upload multiple files (wildcard characters are supported).
Mv
Move the remote file (the remote file renamed).
Rm
Delete the remote file.
Mrm
Delete multiple remote files (wildcard characters are supported).
Mkdir
Create a remote directory.
RmDir
Delete the remote directory.
Pwd
Displays the directory where the remote is currently located (LPWD displays the local directory).
Du
Calculate the size of the remote directory
!
command to execute local shell (because Lftp does not have lls, it can be replaced by!ls)
Lcd
Switch Local Directory
Lpwd
Show Local Directory
Alias
Defining aliases
Bookmark
Set bookmarks.
Exit
Exit FTP

Linux under Lftp use:

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.