Using ftp to download multiple files using ‘mget’ command is pretty common, however it downloads files from current directory only. But if you need to download recursive directories with all its content then? And specially when you don’t have shell access to the remote machine and you don’t have access to archive the targeted folder?
In such situation you can use ‘wget’ to download all recursive directories by providing your ftp details. For example:
wget -rc --user='ftpusername' --password='ftppassword' ftp://domain.com/directory_path/
[…] This post was mentioned on Twitter by Bernardo Arancibia , Rails Bot. Rails Bot said: Download recursive directories with wget using Username & Password for FTP http://bit.ly/9KnsBv […]
Hello Admin,
Thanks a lot. This just saved me :).
Looking forward for such tips.
Thanks,
Emma
time saver. thx
Sublime poste : pérennisez comme ça
Јe n’ai pas eu le temps de terminer de regarde cependant je repasse
plus tard
Vous nous concoctez constamment des postes intéressants
Je suis entièгement en équation avec toi