LFTP: Difference between revisions
From Lsdf
Jump to navigationJump to search
mNo edit summary |
(Replaced content with "The page has moved: [https://www.rda.kit.edu/104.php]") Tag: Replaced |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The page has moved: [https://www.rda.kit.edu/104.php] |
|||
= Intro = |
|||
LFTP is an enhanced sftp client that allows faster parallel down and uploads as well as a more convenient interface |
|||
= Documentation = |
|||
LFTP Documentation can be found here http://lftp.yar.ru/ |
|||
= Getting and installing = |
|||
Most current Linux distrubutions offer lftp through their package management. However they carry mostly rather old versions which have annoying bugs. |
|||
We suggest to use at least lftp versions above 4.7.x. The web site offers source packages that allows you to install the most recent version. Check the README and the INSTALL files in the documentation. |
|||
To install lftp using your distribution package management tool |
|||
yum install lftp |
|||
sudo apt-get install lftp |
|||
= Using = |
|||
Log in with your archive account |
|||
lftp -u <abc> sftp://archive-sftp.lsdf.kit.edu |
|||
Password: <password> |
|||
Upload a local file (lfile) to a remote file (rfile): |
|||
lftp>put lfile -o rfile |
|||
Upload, reverse mirror (-R), a local directory (ldir) to a remote directory (rdir) using '''4''' processes. Use the --continue (-c) option to allow the mirror operation to continue where it left off in case something happens (usefull if you archive thousands of files and directories). |
|||
lftp>mirror -c -R --parallel=4 ldir rdir |
|||
Download a remote directory using 4 streams for every single file. (This help to improve download speeds for large files): |
|||
lftp>mirror -c --use-pget-n=4 rdir ldir |
|||
= [[LFTP_tests|Throughput measurements]] = |
Latest revision as of 10:19, 27 June 2022
The page has moved: [1]