Tuesday, March 12, 2013

wget Everything in a Folder With Credentials

To fetch multiple files from a private FTP server where the credentials are required, one needs to specify --ask-password, if not, one gets this report:

Logging in as anonymous ...
Error in server response, closing control connection
Retrying.

Right command:

wget -rc --user=your-user-name --ask-password ftp://your.website.com

where -r means to recursively get, and -c means to continue to get a partially downloaded file.

1 comment:

  1. Liberty cannot be established without morality, nor morality without faith. See the link below for more info.

    #morality
    www.ufgop.org

    ReplyDelete