In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the use of linux lftp command excellent command line FTP client, the article introduces in great detail, has a certain reference value, interested friends must read!
Lftp supports a variety of file transfer protocols such as FTP, SETP, HTTP, and FTPs. FXP is also supported, allowing data to be transferred directly between two FTP servers, bypassing the client. At the same time, it also has the function of recursively mirroring the entire directory tree and resuming download at breakpoints. Lftp transmission tasks can be scheduled for execution during a time period, limit bandwidth and create transfer lists, and support task control similar to Unix shell. The client can also be used in interactive or automated scripts.
Syntax format: lftp [parameters]
Common parameters:
-f specifies the script file to be executed by lftp-c exits after executing the specified command-- help displays help-- version displays the current version number
Reference example
After logging in, only use "ls", "cd" and other commands to view files and change directories:
[root@linuxcool ~] # lftp username: password @ ftp address: transport port (default 21)
Download files using different instruction functions of "get", "mget", "mirror" and "pget":
> mget-c * .db # downloads all db files in a way that allows breakpoints to resume. > mirror aaa/ # download the entire aaa directory, and the subdirectory will also be copied automatically > pget-c-n 10 10G.file downloads 10G.file with up to 10 threads allowing breakpoints to resume
"put" and "mput" are file upload operations. "mirror-R" uploads the local directory back to the ftp site iteratively (including subdirectories):
> put linuxcool.tar > mirror-R local directory name above is all the contents of the excellent command line FTP client using linux's lftp command. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.