How to upload file with wput

wput -B -u . ftp://user:password@ftphost/

wput -B -u yourdirecotry ftp://user:password@ftphost/

 

download with wget

wget -r -l 0 -nH ftp://user:pass@ftp.server.com

Option     Description
user     FTP username
pass     FTP password
ftp.server.com     IP address or domain name of an FTP server
-r, –recursive     Recursive retrieving
-l, –level     Maximum recursion depth (0 = unlimit)
-nH, –no-host-directories     Disable generation of host-prefixed directories

 

Reference:

http://www.shellhacks.com/en/Backup-Site-Recursively-from-FTP-with-Wget