curl-users
Re: cURL:Download files from website
Date: Mon, 16 May 2011 15:49:42 +0200 (CEST)
On Fri, 13 May 2011, Reginald Baugh wrote:
> I have a case in which I need to query a website to get search returns of
> files I need to download. Then I need to download the individual files,
> using cURL.
>
> Through the website UI, when I choose to download a file, the confirmation
> box appears, and ask to "Save" or "Open" the file. Using an HTTP catcher,
> it seems that the website is using a web service to process the downloads.
>
> My question, can cURL handle this case, if so, any good resources available
> to assist me?
Yes curl can handle this case.
Use LiveHTTPHeaders/Firebug to record a "manual session" that you do with your
browser.
Then based on that log you convert it to a series of curl command lines.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-05-16