Use WGET to recursively download the whole FTP directory

I wanted to copy all of the files and folders from my current host to my new server. And I only have FTP access to that current host.

My new server is running Ubuntu, and i hated using the FTP command. But i had to some how download the whole directory of files. Can’t use any gui program.

Finally, i used wget to download the whole directory recursively via ftp.

 
wget -r ftp://username:password@dipinkrishna.com/*

Don’t miss out the ‘*’ at the end.

Hope it helps. 🙂

Leave a comment

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.