cURL / Mailing Lists / curl-users / Single Mail


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

From: scatterp <>
Date: Thu, 13 Sep 2007 04:51:17 +0100 (BST)

Dan Fandrich <> wrote: On Thu, Sep 13, 2007 at 04:25:08AM +0100, scatterp wrote:
> Hi
> I am new to the list please excuse any mistakes in my etiquette.
> I read the rules
> curl.exe "
> TrafficEstimatorSandbox&keywords=keyword1%0Akeyword2%0Akeyword3&currency=USD&
> price=&budget=100&language=*&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:
> resultcacheid=1189652258446
> 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?

More likely, you are not "logging in" to the server first. You need to
perform the log in sequence first to obtain the correct cookies before you
try to download the file itself.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Hi Dan
Thanks for the response.
not sure how I would apply your answer I do not see any login box on the site?
 For ideas on reducing your carbon footprint visit Yahoo! For Good this month.
Received on 2007-09-13