How to mass download FTP site using wget ?

How to mass download FTP site using wget ?

I’m using the Cloud Sites from RackSpace, too bad that they do not provide SSH for me, and I’m going to move my site to the server, I’m using this way to download all the files using wget mass download.

Note:
The -r is recursive
The -l99, I put this as much as possible for the sub directory in the path.

wget -r -l99 ftp://username:[email protected]/public_html/

How to exclude files in wget while mass download files from FTP ?


wget -r -l99 ftp://username:[email protected]/public_html/ -X "/ftp.sample.com/public_html/cache/"

Author: Justin Soo

https://plus.google.com/105604283199591348183