Use WGET to recursively download the whole FTP directory

On February 15, 2013, in General, Shell, by Dipin Krishna

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. 🙂

Tagged with:  

Leave a Reply

*

Search