Friday, 3 February 2012

For High speed file transfer

Use lftp for high speed file transfer between servers or systems. It support both httpd and ftp.

lftp via httpd

#  lftp http://192.168.1.183/ -e 'pget -n 30 SM10.77_Linux_32bit_x86_SMIA-10.77.x5.28.tgz'


This will get the file of high size very fast in locally. We can move it in remote servers as well, note that the file must be place in the apache document root.

lftp via ftp

# lftp ftp://192.168.0.152/ -e 'pget -n 30 CentOS-5.6-i386-bin-DVD.iso'

put the package in /var/ftp.

we can also mention username and passeord alson with lftp.

# lftp -u 'ctechz,blogspot' http://ctechz.blogspot.com -e 'pget -n 30 package'

we can adjust the speed rates by changing 30 to some other numbers.


No comments:

Post a Comment