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?
--timestamping
(-N) is used, it would work. Then when path ended in '/' it would always create an index.html instead of downloading files. Ending in * would also work for a dir. In all cases also--recursive
was used.