FTP in conjunction with wget can be used to recursively download files from the servers. Use the following command to fetch all files in the FTP account provided:
# wget -r -nH -c -l0 ftp://ftp_username:ftp_password@ftp_host.com
If needing to use a username with an ‘@’ in it, you can use %40 instead of the @ and it will go through just fine.
# wget -r -nH -c -l0 ftp://user%40domain.com:ftppass@ftp_host.com
No comments:
Post a Comment