On Tue, 8 Feb 2005 19:30:25 -0500 "Post, Mark K" <[EMAIL PROTECTED]> wrote:
> This looks like you are specifying a userid and password for the web > site to authenticate. This might be on your command, and you're just > not showing it to us, or it might be in /etc/wgetrc or ~/.wgetrc. In > any case, try doing it without that, since that works for me. > > > Mark Post > > -----Original Message----- > From: Emily Jackson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 08, 2005 5:55 PM > To: Post, Mark K > Cc: [email protected] > Subject: Re: "403 Forbidden" Errors with mac.com > > > On Tue, 8 Feb 2005 12:07:10 -0500 > "Post, Mark K" <[EMAIL PROTECTED]> wrote: > > > Don't know what is happening on your end. I just executed > > wget http://idisk.mac.com/tombb/Public/tex-edit-plus-X.sit > > > > and it downloaded 2,484,062 bytes of something. > > > > What does using the -d option show you? > > > > > > Mark Post > > > > -----Original Message----- > > From: Emily Jackson [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, February 08, 2005 6:26 AM > > To: [email protected] > > Subject: "403 Forbidden" Errors with mac.com > > > > > > This produces a "403 Forbidden" error: > > > > wget "http://idisk.mac.com/tombb/Public/tex-edit-plus-X.sit" > > > > as does this: > > > > wget --user-agent="Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) > > AppleWebKit/125.5.6 (KHTML, like Gecko) Safari/125.12" > > "http://idisk.mac.com/tombb/Public/tex-edit-plus-X.sit" > > > > (all on one line, of course; the user agent specified is for Apple's > > Safari browser) > > > > curl -O works fine, however. What else could I try to be able to use > > wget to download this file? [wget 1.9.1, Mac OS X 10.3.7] (Please cc > > any replies directly to me.) > > [m5:~] emilyjac% wget -d > http://idisk.mac.com/tombb/Public/tex-edit-plus-X.sit > DEBUG output created by Wget 1.9.1 on darwin7.6.0. > > --16:50:24-- http://idisk.mac.com/tombb/Public/tex-edit-plus-X.sit > => `tex-edit-plus-X.sit' > Resolving idisk.mac.com... 17.250.248.77 > Caching idisk.mac.com => 17.250.248.77 > Connecting to idisk.mac.com[17.250.248.77]:80... connected. > Created socket 4. > Releasing 0x3084f0 (new refcount 1). > ---request begin--- > GET /tombb/Public/tex-edit-plus-X.sit HTTP/1.0 > User-Agent: Wget/1.9.1 > Host: idisk.mac.com > Accept: */* > Connection: Keep-Alive > Authorization: Basic bTVjb21wOm1rb2lqbg== > > ---request end--- > HTTP request sent, awaiting response... HTTP/1.1 403 Forbidden > Date: Tue, 08 Feb 2005 22:50:24 GMT > Server: Apache/1.3.14 (Unix) DAV/1.0.2 > x-responding-server: webdav04 > Content-Type: text/html;charset=iso-8859-1 > Connection: close > > > Closing fd 4 > 16:50:24 ERROR 403: Forbidden. It was my .netrc file--I have a mac.com account, and I had my mac.com username and password in ~/.netrc to use with cadaver. I never thought about that; thanks for pointing that out. Emily -- "If it seem slow, wait for it; it will surely come, it will not delay." Emily Jackson <http://home.hiwaay.net/~emilyj/missjackson.html>
