Forgive me for the simple question... I haven't used curl before. I'm trying to automatically download some data from this form: http://ida.water.usgs.gov/ida/available_records.cfm?sn=12040500
which posts to available_records_process.cfm. I would use:
curl -F "fromdate=1988-08-26;todate=2009-09-30;rtype=3;site_no=12040500" http://ida.water.usgs.gov/ida/available_records_process.cfm
but the webmaster has limited access to available_records_process.cfm, so I can't post to it directly (I get a 'specified URL could not be found' error). Next, I tried to use curl directly on the preceding page, like:
curl -F "fromdate=1988-08-26;todate=2009-09-30;rtype=3" http://ida.water.usgs.gov/ida/available_records.cfm?sn=12040500
But this doesn't seem to post the form, despite trying many variations of flags and post formatting. Any thoughts?