LFTP tests: Difference between revisions

From Lsdf
Jump to navigationJump to search
No edit summary
No edit summary
Line 41: Line 41:
'''3. 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 lfile -o rfile'''


'''4. Upload (mirror reverse) a local directory using nn processes:'''
'''4. Upload (mirror reverse) a local directory(ldir)to a remote directory(rdir) using nn processes:'''


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


'''5. 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:'''

Revision as of 15:30, 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 lfile -o rfile

4. Upload (mirror reverse) a local directory(ldir)to a remote directory(rdir) using nn processes:

  • lftp>mirror -c -R -Pnn ldir rdir

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

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