I’m using wget 1.11.4b (Windows) for downloading files from websites. One particular site requires user credentials (username & password) for downloading a file.
Below is the syntax which I’ve tried in command line:
wget -nd --http-user=jcfs0156 --http-password=password1 http://soci.ucalgary.ca/jcfs/system/files/Spring2009.pdf (password1 is dummy password)
But the following error message is displayed:
--2009-06-19 17:43:15-- http://soci.ucalgary.ca/jcfs/system/files/Spring2009.pdf
Resolving soci.ucalgary.ca... 136.159.142.221
Connecting to soci.ucalgary.ca|136.159.142.221|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2009-06-19 17:43:16 ERROR 403: Forbidden.
Is the command interpretation wrong / is there any other syntax for downloading a file with password.
Regards,
Gopi