cURL / Mailing Lists / curl-users / Single Mail

curl-users

CURL stopped working an need help

From: John W <jmw136_at_gmail.com>
Date: Thu, 30 Mar 2006 18:07:47 -0600

I have been using CURL for about 2 years now, I would consider myself an
intermediate user but have stumbled onto a problem that I am pretty lost on.

Up to now, when I would execute the command shown below it would download a
CSV data file. I think the webpage developer made some changes and now CURL
does everything except to download the data file.

I tried specifing a particular browser and have run it in verbose mode.

Any help or direction you can point me in would be beneficial.

Thanks in advance.

John

========================================================================

C:\stoz\utils\curl>curl -v -A "Mozilla/4.0" -b "cookies.txt" -d
"&status=1&status=2&status=10&status=3&format=csv&sheet=
openOrders" -o "info.csv"
https://orderzone.deere.com/ozone/vendor/DownloadOrders.do
* About to connect() to orderzone.deere.com port 443
* Trying 206.252.142.129... connected
* Connected to orderzone.deere.com (206.252.142.129) port 443
* successfully set certificate verify locations:
* CAfile: C:\stoz\utils\curl\curl-ca-bundle.crt
  CApath: none
* SSLv2, Client hello (1):
 SSLv3, TLS handshake, Server hello (2):
 SSLv3, TLS handshake, CERT (11):
 SSLv3, TLS handshake, Server key exchange (12):
 SSLv3, TLS handshake, Server finished (14):
 SSLv3, TLS handshake, Client key exchange (16):
 SSLv3, TLS change cipher, Client hello (1):
 SSLv3, TLS handshake, Finished (20):
 SSLv3, TLS change cipher, Client hello (1):
 SSLv3, TLS handshake, Finished (20):
 SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
* subject: /C=US/ST=Illinois/L=Moline/O=Deere & Company/OU=IPN
Internet Services/CN=orderzone.deere.com
* start date: 2005-09-01 15:44:00 GMT
* expire date: 2006-09-02 15:44:00 GMT
* common name: orderzone.deere.com (matched)
* issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
* SSL certificate verify ok.
> POST /ozone/vendor/DownloadOrders.do HTTP/1.1
> User-Agent: Mozilla/4.0
> Host: orderzone.deere.com
> Accept: */*
> Cookie: encpricemode=false; JSESSIONID=
7A3DC4843F5A396E3D9E7688A7905A38.app1
> Content-Length: 65
> Content-Type: application/x-www-form-urlencoded
>
> &status=1&status=2&status=10&status=3&format=csv&sheet=openOrdersHTTP/1.1
200 OK
< Date: Fri, 31 Mar 2006 00:06:08 GMT
< Server: Apache
< Pragma:
< Cache-Control: private
< Expires: Wed, 31 Dec 1969 23:59:59 GMT
< Content-Disposition: attachment; filename="Orders_2006_03_30_190608.csv"
< Content-Description: Orders.csv
< Content-Type: text/csv
< Content-Length: 0
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* Connection #0 to host orderzone.deere.co
m left intact

* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
Received on 2006-03-31