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:email@example.com
Some on the hosting provider disabled the main ftp account for the ftp access and provide the new ftp account in the format firstname.lastname@example.org then you need to use the following command to access the ftp account by using wget.
wget -m –ftp-user=”email@example.com” –ftp-password=aq1sw2de3 ftp://ip.of.old.host/*
Note: Replace the “firstname.lastname@example.org” equal to original ftp user name and also replace“aq1sw2de3? with the original password.