cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: CURL stopped working an need help

From: Brian Dessent <brian_at_dessent.net>
Date: Thu, 30 Mar 2006 17:12:57 -0800

John W wrote:

> 200 OK
> < Date: Fri, 31 Mar 2006 01:02:44 GMT
> < Server: Apache
> < Pragma:
> < Cache-Control: private
> < Expires: Wed, 31 Dec 1969 23:59:59 GMT
> < Content-Disposition: attachment;
> filename="Orders_2006_03_30_200244.csv"
> < Content-Description: Orders.csv
> < Content-Type: text/csv
> < Content-Length: 0

This means the server is replying with an empty document (length 0.)
There's nothing curl can do about that. It probably means that the
parameters or cookies you are passing to the server are no longer
correct. Their site could have changed the way the form works, or your
cookie could have expired, or the cookie format could have changed, or
...

You'll have to use an actual browser to get the desired file, and then
see what URL parameters and/or cookies are being passed.

Brian
Received on 2006-03-31