This site has been archived and will no longer be updated.
You can find my new profile at neilpahl.com. My new blog is at 808.ninja.
Wanted to know how to easily download all files and folders recursivley from a host that only offers ftp access using only the command line
If you have terminal/ssh access its easy to download remote file structures using a recursive scp command. But what about ftp from the command line? The ftp client native in the command line isn't able to recursivley get and send files, so its better to get it through wget. in the command line, use:
wget -m ftp://username:password@ip.of.host/path/to/directory
in wget, the -m parameter is for mirror, the -r can only go 5 folders down a dir structure.
PLEASE let me know if I'm doing something wrong, or if you have any suggestions or requests~
blog comments powered by Disqus