Download recursive directories with wget using Username & Password for FTP

Published on Author Akhil Bansal7 Comments

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/

7 Responses to Download recursive directories with wget using Username & Password for FTP

Leave a Reply

Your email address will not be published. Required fields are marked *