cURL / Mailing Lists / curl-users / Single Mail


Re: using curl to download files where the url does not end in file.ext

From: Ralph Mitchell <>
Date: Wed, 12 Sep 2007 23:08:45 -0500

On 9/12/07, scatterp <> wrote:
> Hi
> I am new to the list please excuse any mistakes in my etiquette.
> I read the rules
> curl.exe
> "*&geoselection=&countryList=*"
> --user-agent lynx --cookie-jar cookiefile --cookie cookiefile
> how could i download the csv file included in the source from this download
> ?
> its link looks like this:
> and when you download that with curl you do not get the csv file
> I am guessing i am using the wrong format on the command line?

I tried looking at your first link in a browser - it's a form, so to
get to the next stage you need to post the form. There are at least 3
hidden variables and a bunch that you probably need to set values for.

I don't do Windows scripting, so that's all I can tell you.

Ralph Mitchell
Received on 2007-09-13