Free Domain Sign up for PayPal and start accepting credit card payments instantly.
Showing posts with label LFTP. Show all posts
Showing posts with label LFTP. Show all posts

Saturday, August 13, 2011

LFTP

Features:
1. Sophisticated FTP client
2. Provides connectivity:
a. FTP
b. HTTP/HTTPS
c. SFTP(SSHv2)
3. Interactive and non-interactive client
4. Supports scripting
5. Reads system-wide (/etc/lftp.conf) and per-user config files (~/.lftprc)
6. Behaves like the BASH shell
a. Command history
b. Permits execution of background jobs. Use CTRL-Z to background.
c. Tab completion
7. Supports mirroring (forward and reverse) of content
8. Supports FTP retransmit/reconnect from where you left off
9. Supports bookmarks of sites
10. Supports escape to shell using '!command' e.g. '!bash'
11. Supports the execution of BASH programs '!command' e.g. '!ps -ef'



Usage:
1. lftp - enters interactive mode
a. 'set -a' - reveals all variables

2. lftp linuxcbt@192.168.75.199

3. mget -c - continues downloads

4. mput -c - continues uploads

5. lftp -u linuxcbt,abc123 sftp://192.168.75.199 - Connects to SFTP server

6. mirror -v mirror/ - mirrors a remote directory named 'mirror' to the local system

7. mirror -Rv mirror/ - Reverse mirror (puts) - items to remote server