-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

gopi nath wrote:
>     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:

>     HTTP request sent, awaiting response... 403 Forbidden

Unfortunately, this site apparently issues 403 forbidden to
HTTP/1.0-only clients (that's really the wrong response code to send).
Wget doesn't currently support HTTP/1.1, so we get that response.

You'll need to use a different tool, I'm afraid. Perhaps have a look at
"curl"?

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko7xzAACgkQ7M8hyUobTrF34QCeOD1hzc8e6YiQvRR9aQjX7aNL
7bEAn0QSFux1gvN7JZTDaR4bQA/xZg+o
=y0g+
-----END PGP SIGNATURE-----


Reply via email to