How to download recursive folders in linux with command line ftp
Ok so all you want to is to ssh into your server and pull a stack of files over from another PC via ftp. Sounds simple does it now. This is linux we are talking about.. nothing is simple.
The short answer.. sod ftp use wget like
[bash]wget -r ftp://user: pass@domain/folder/*[/bash]
Long answer
And being linux all the help is just as cryptic as the manual.
So you probably tried to ftp in to the remote PC and use get to get the files… ha you hapless fool. Then you googled a bit and found that mget command gets more then 1 file so you tried
mget *
you then get sick of answering YES to every prompt.
the someone points out that if you enter
ftp> prompt
it will toggle out of prompt mode
then you realise that this is only downloading files anyway.
argghhh
eventually you google for “lunux ftp recursive” and finally you have cracked it.
