cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: errors using cURL to submit a form and download a file

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Wed, 29 Jul 2009 17:20:14 +0200

 
Maximilian Rausch wrote:
 
> curl -d
'qry=1&frmEffectiveDt=06%2F29%2F2009&FRMENDDT=07%2F30%2F2009&B1=Download
' https://www.gasnom.com/ip/southernpines/transposting.cfm?id=3

You missed the form URL change:

curl -d 'qry=1' -d 'frmEffectiveDt=06/29/2009' -d 'FRMENDDT=07/30/2009'
-d 'B1=Download' 'https://www.gasnom.com/ip/southernpines/TRFT.cfm'

does it.

By the way, this is not the best list for the command line tool
questions. You better try on
http://cool.haxx.se/mailman/listinfo/curl-users

Patrick
Received on 2009-07-29