How do I download a whole folder through FTP in Terminal?
FTP works within a directory, not on directories as containers of files. If you absolutely had to get the job done and ftp was the only tool you could use - you could cobble together an
Thankfully there are alternatives like
I had to download 22'000+ webcam pictures from my web server, which is a bit of a challenge for both the Finder and my FTP program CyberDuck.
So I did the following (based on @bmike's answer):
Then the files are being downloaded into the desired folder:
follow this instruction :
then you are in ftp looking like
then you open ip of server
then it will ask for username, you will provide
then it wil ask for password
then you should be logged in and see the ftp> shell again, you can type "ls" to list all files and you can navigate like in inix with cd
when you found your filename you can download it with
et voila, the file will be downloaded to the directory you opened shell localy from
you cant download directorys, but you could navigate into your directory and download multiple e.g all files
Task: Download Multiple Files
You need to use mget command as follows to copy multiple files from the remote ftp server to the local system. You may be prompted for a yes/no (Y/N) answer before transferring each file (you can disable prompt by passing the -i option to ftp client). To download all files, enter: ftp> mget *
information from http://www.cyberciti.biz/faq/linux-unix-ftp-commands/ cheers
Another way is to use curl
I think this is working, or file by file
I hope this helped.