Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
server-administration:wget-recursive-ftp [2010-11-08 18:55:02] garrett.plasky Approved |
server-administration:wget-recursive-ftp [2011-07-01 19:21:10] garrett.plasky Approved |
||
---|---|---|---|
Line 8: | Line 8: | ||
If all of these apply to you, then a recursive wget via FTP is probably your best bet. On the surface recursive wget is quite simple: | If all of these apply to you, then a recursive wget via FTP is probably your best bet. On the surface recursive wget is quite simple: | ||
- | <code console># wget -r ftp:// | + | <sxh shell>wget -r ftp:// |
The problem here is two-fold. If you simply run that command as given assuming the data used above, wget will download data to < | The problem here is two-fold. If you simply run that command as given assuming the data used above, wget will download data to < | ||
- | <code console># wget -r -nH --cut-dirs=4 ftp:// | + | <sxh shell>wget -r -nH --cut-dirs=4 ftp:// |
In the above example, < | In the above example, < |