cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl to download a file, not the web page

From: Guirong Wang <guirong2004_at_yahoo.com>
Date: Thu, 14 Jun 2007 13:29:39 -0700 (PDT)

Hi, all
   I am working on downloading files with curl. The files are listed in a form text area of a web page https://somesite.com/retrieve.aspx, which is a self-post page. With browser, if you select a file name and click the “download” button, the file can be downloaded. With curl, I filled out all the form fields with contents as shown in LiveHTTPHeaders, but the expected file is not downloaded, instead, the web page itself, which contains the form text area with file names listed, is downloaded . Can anybody help me out? Thanks.

       
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
Received on 2007-06-14