LFTP tests: Difference between revisions
From Lsdf
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
*http://lftp.yar.ru/ |
*http://lftp.yar.ru/ |
||
'''2. |
'''2.Install lftp using yours distribution package management tool''' |
||
*yum install lftp |
|||
*sudo apt-get install lftp |
|||
'''3. Log in with your archive account''' |
|||
lftp -u eqXXXX sftp://archive-sftp.lsdf.kit.edu |
lftp -u eqXXXX sftp://archive-sftp.lsdf.kit.edu |
||
Password:your secret password |
Password:your secret password |
||
''' |
'''4. Upload a local file(lfile) to a remote file(rfile):''' |
||
*'''lftp>put lfile -o 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''' |
*'''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''' |
*'''lftp>mirror -c --use-pget-n=nn rdir ldir''' |
Revision as of 16:01, 10 August 2016
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 usefull commands:
1. LFTP Documentation:
2.Install lftp using yours distribution package management tool
- yum install lftp
- sudo apt-get install lftp
3. Log in with your archive account
lftp -u eqXXXX 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