LFTP tests: Difference between revisions
From Lsdf
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
Line 32: | Line 32: | ||
= LFTP useful commands:= |
= LFTP useful commands:= |
||
The LFTP Documentation can be found here http://lftp.yar.ru/ |
|||
*http://lftp.yar.ru/ |
|||
2.Install lftp using yours distribution package management tool (e.g yum) |
|||
yum install lftp |
|||
sudo apt-get install lftp |
|||
3. Log in with your archive account |
|||
lftp -u AAnnnn sftp://archive-sftp.lsdf.kit.edu |
|||
Password:your secret password |
|||
4. Upload a local file(lfile) to a remote file(rfile): |
|||
lftp>put lfile -o rfile |
|||
5. Upload (mirror reverse -R) a local directory(ldir) to a remote directory(rdir) using nn processes: |
|||
lftp>mirror -c -R -Pnn ldir rdir |
|||
6. Download a remote directory using pget(nn streams) for every single file: |
|||
lftp>mirror -c --use-pget-n=nn rdir ldir |
Revision as of 20:04, 14 August 2016
Tests
Client OS | Direction | #of proc/streams | #of files | lftp(MB/s) | sftp(MB/s) | scp(MB/s) | rsync(MB/s) |
---|---|---|---|---|---|---|---|
LINUX | Upload | 1 | 1 | 76.38 | 79 | 77 | 85 |
5 | 5 | 268 | |||||
12 | 15 | 317 | |||||
15 | 15 | 330 | |||||
LINUX | Download | 1 | 1 | 68 | 67 | 94 | 95 |
5 | 1 | 213 | |||||
12 | 1 | 176 | |||||
15 | 1 | 301 |
LFTP useful commands:
The LFTP Documentation can be found here http://lftp.yar.ru/
2.Install lftp using yours distribution package management tool (e.g yum)
yum install lftp sudo apt-get install lftp
3. Log in with your archive account
lftp -u AAnnnn sftp://archive-sftp.lsdf.kit.edu Password:your secret password
4. Upload a local file(lfile) to a remote file(rfile):
lftp>put lfile -o rfile
5. Upload (mirror reverse -R) a local directory(ldir) to a remote directory(rdir) using nn processes:
lftp>mirror -c -R -Pnn ldir rdir
6. Download a remote directory using pget(nn streams) for every single file:
lftp>mirror -c --use-pget-n=nn rdir ldir