Using Wget To Download FTP Folders
Using wget to download FTP folders
If you want to copy all of the files and folders from one host to another by using the ftp account.
Then use the following command to download the files/folders on remote server by using wget. Use this command on destination server.
wget -m ftp://username:firstname.lastname@example.org
Some on the hosting provider disabled the main ftp account for the ftp access and provide the new ftp account in the format email@example.com then you need to use the following command to access the ftp account by using wget.
wget -m –ftp-user=”firstname.lastname@example.org” –ftp-password=aq1sw2de3 ftp://ip.of.old.host/*
Note: Replace the “email@example.com” equal to original ftp user name and also replace“aq1sw2de3? with the original password.