Using wget to recursively download whole FTP directories
- by user9406
I want to copy all of the files and folders from one host to another.
The files on the old host sit at /var/www/html and I only have FTP access to that server, and I can't TAR all the files.
Regular connection to the old host through FTP brings me to the /home/admin folder.
I tried running the following command form my new server:
wget -r ftp://username:[email protected]
But all I get is a made up index.html file.
What the right syntax for using wget recursively over FTP?