cURL / Mailing Lists / curl-users / Single Mail

curl-users

Trying to download authenticated file

From: Ed Graf <edgraf_at_earthlink.net>
Date: Sat, 10 May 2003 16:43:43 -0700

Using the default install on Mac OS 2, version curl/7.7.2
(powerpc-apple-darwin6.0) libcurl 7.7.2 (OpenSSL 0.9.6b)

Attempting to download a file using curl -u xxxxxx:password -b nocookie
-vLO http://domain.com/sys/div/file.pdf

from an extremely paranoid company.

I get following:

* Connected to sillyprefix.domain.com (151.193.204.xxx)
> GET /sys/div/file.pdf HTTP/1.1
Authorization: Basic dTAyNjk1Nzo5MTEwNXNhbg==
User-Agent: curl/7.7.2 (powerpc-apple-darwin6.0) libcurl 7.7.2 (OpenSSL
0.9.6b)
Host: sillyprefix.domain.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

   % Total % Received % Xferd Average Speed Time
  Curr.
                                  Dload Upload Total Current Left
  Speed
100 838 0 838 0 0 2055 0 --:--:-- 0:00:00
--:--:-- 0
* Connection (#0) left alive
* Closing live connection (#0)

I get a pdf file with text showing a 403 file explaining the browser
needs cookies???

I would appreciate any help, even to giving the actual direction to
look for problems.

Ed

edgraf_at_earthlink.net

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
Received on 2003-05-11