LFTP tests: Difference between revisions

From Lsdf
Jump to navigationJump to search
No edit summary
No edit summary
Line 32: Line 32:
===LFTP usefull commands:===
===LFTP usefull commands:===


'''LFTP Documentation:'''
'''1. LFTP Documentation:'''
*http://lftp.yar.ru/
*http://lftp.yar.ru/


'''1. Log in with your archive account'''
'''2. 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


'''2. Upload a local file(lfile) to a remote file(rfile):'''
'''3. Upload a local file(lfile) to a remote file(rfile):'''


*'''lftp>put local_file -o remote_file'''
*'''lftp>put local_file -o remote_file'''


'''3. Upload (mirror reverse) a local directory using nn processes:'''
'''4. Upload (mirror reverse) a local directory using nn processes:'''


*'''lftp>mirror -c -R -Pnn local_dir remote_dir'''
*'''lftp>mirror -c -R -Pnn local_dir remote_dir'''


'''4. Download a remote directory using pget(nn streams) for every single file:'''
'''5. 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 15:27, 10 August 2016

TransferMatrix to HPSS FUSE MOUNT
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. Log in with your archive account

lftp -u eqXXXX sftp://archive-sftp.lsdf.kit.edu
Password:your secret password

3. Upload a local file(lfile) to a remote file(rfile):

  • lftp>put local_file -o remote_file

4. Upload (mirror reverse) a local directory using nn processes:

  • lftp>mirror -c -R -Pnn local_dir remote_dir

5. Download a remote directory using pget(nn streams) for every single file:

  • lftp>mirror -c --use-pget-n=nn rdir ldir