WGET – FTP Download a directory recursively
Monday, October 26, 2009 0:09Posted in category Unix/Linux
No Comments
We often need to download a directory from a ftp server to a local computer. You can do this using wget and its -r parameter. The command would be:
wget -l 30 -r ftp://user:pass@host/some_directory/
-l sets the level depth. default value is 5 layers. i put 30 to be sure wget gets the whole tree
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.