Lftp commonly used commands to delete all files on the server create an empty local directory nonemirror-Re./none image to upload a local empty directory. Www.2cto.com-e: delete files not in the source directory. Parallel Upload mirror -- parallel9-R ./
Lftp commonly used commands to delete all files on the server cre
supports the tab matching function, greatly reducing the labor intensity.
Lftp supports six modes: FTP, ftps, HTTP, https, hftp, fish and file (of course, https and ftps support must be compiled together with OpenSSL library ).
Lftp has built-in shell-like command format, allowing multiple commands () to be executed at the same time in the background (). All bac
with OpenSSL library ).Lftp has built-in shell-like command format, allowing multiple commands () to be executed at the same time in the background (). All background tasks are executed in the same program (process). commands that can be run in the foreground can be executed in the background (CTRL-Z ), or get back the foreground execution (wait or fg) from the
executing the command-- Help: displays help information and exits.-- Exit after lftp version is displayedOther options are the same as the 'open' command.-E: execute the command after selection.-U [,] use the specified user name/password for verification-P: connection to the specified portHost name, URL or bookmarknameIf you enter the site name in the command line, lftp will directly log on to the site, su
add the bin PATH to the environment variable PATH, as shown below:
[/opt/opthb/work/ymm/usr/local]$lftp-bash: lftp: command not found[/opt/opthb/work/ymm/usr/local]$export PATH=/opt/opthb/work/ymm/usr/local/bin:${PATH} [/opt/opthb/work/ymm/usr/local]$lftplftp :~>
3. log on to the remote server
Log on to the remote server in the same way as normal ftp logon, as shown below:
[/opt/opthb/wo
Lftp is Linux in an FTP server compared to the FTP in Windows appears to be more complex, let me summarize the lftp file upload, file download, and file search and other related commands. Lftp connection of several methods, the most commonly used is lftp [email protected], s
Lftp is an FTP tool under Linux that supports FTP, FTPS, HTTP, https, hftp, fish, SFTP, file and other protocols (support for HTTPS and FTPS, which must be compiled together with the OpenSSL library). The shell-like command format is built into LFTP, allowing multiple commands () to be executed in the background simultaneously. All background work is performed in
, fish and file (of course, https and ftps support must be compiled together with openssl library ).
Lftp has built-in shell-like command format, allowing multiple commands () to be executed at the same time in the background (). All background tasks are executed in the same program (process). commands that can be run in the foreground can be executed in the bac
Lftp is a tool that supports downloading, uploading, and screen usage. It is equivalent to an ftp client that supports file access.Protocols include ftp, ftps, http, https, hftp, and fish.
1. login method:
Lftp User name: password @ IP Address
[root@zhu2 ~]# lftp zhu:123456@192.168.70.137lftp zhu@192.168.70.137:~> ls -ldrwxr-xr-x 9 500 500 4096 S
Today, when solving a remote server backup problem, the LFTP knowledge is used. Tidy up as follows:LFTP features more powerful, compared to the original with FTP, a lot of convenience.1. Login:Lftp Ftp://[email protected]pwd:*****or open Ftp://[email protected]2. Basic operation (Turn)Lftp Usage IntroductionLftp is a powerful download tool that supports access to file protocols: FTP, FTPS, HTTP, https, hftp
LFTP features more powerful, compared to the original with FTP, a lot of convenience.1. Login:Lftp ftp://[email protected]pwd:*****or open ftp://[email protected]Basic operation (RPM)Lftp is a powerful download tool that supports access to file protocols: FTP, FTPS, HTTP, https, hftp, fish. (where FTPs and HTTPS need to include the OpenSSL library when compiling). Llftp's interface is very much like a shell
directory of the visited sites
Common commands
Download a single file and a set of files, the breakpoint continued to be transmitted with the-C parameter
Lftp dsec.pku.edu.cn:/> get-c Ls-lr.txt
Lftp dsec.pku.edu.cn:/> mget *.txt
Mirror (upload) a directory in which multiple threads can mirror a directory in parallel (--parallel=n)
use of crontab. It seems that the feedback from various forums is not very useful in scheduled tasks, and the debugging process is still quite long ..
Appendix: How to Use lftpLftp settingsLftp is executed at startup ~ /. Lftprc and ~ /. Lftp/rc. You can add the alias or set command to these two files. If you want to see the complete protocol debugging process, you can use debug to enable debugging.The system-level Startup File is/etc/
More commands and software are appropriate for FTP operations. Linux under the common operation commands are FTP, LFTP and SFTP, graphical interface is very easy to use FileZilla. However, in the server command interface, I still feel that lftp is more convenient to use, the function is more powerful than FTP. Lftp's i
The common operation commands under Linux are FTP, LFTP and SFTP, and the graphical interface is very useful FileZilla. However, in the server command interface, LFTP is more convenient to use and more powerful than FTP. Lftp interface is like the Linux shell, with command completion, history, allowing multiple backgro
Recently testing the company's internal FTP server, downloading and uploading problems.
found that lftp than FTP (are the client) to be more powerful, after the use of the discovery, FTP reget command, is required before this file must exist, and another FTP breakpoint retransmission is not automatic, need manual operation.
And the use of lftp in the mget-c *.txt such c
Use lftp to back up your file-Linux Enterprise Application-Linux server application information. For more information, see. From: http://www.linux.com/feature/122169
Every day I am tossing my computer, so important data cannot be backed up. Back up the data to your machine. In case the entire hard disk breaks down, the data will still be exhausted ...... It is best to back up data to another host. reinsurance can back up multiple copies on different
The lab bought a new FileServer for backup. A student's hard disk in the lab broke down a few days ago, so I also set up the automatic backup function. The first thing to do is to see what type of FileServer is. In fact, if FileServer is built using the UbuntuLinux system (with ssh), it can be directly implemented using rsync. However, if FileServer is a common FTP, LFTP is a good choice. There are also some examples of
Lftp garbled solution-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Most ftp servers in China use gbk for Chinese encoding, while most linxu versions (including debian, redhat, centOS, and fc) Use utf8 by default, as a result, Chinese garbled characters may occur when accessing the ftp server. There are two solutions:
1. temporary solution
Log on to the ftp server using
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.