curl-users
curl command line options
From: <TarquinBell_at_netscape.net>
Date: Thu, 12 Jul 2001 02:14:06 -0400
Date: Thu, 12 Jul 2001 02:14:06 -0400
I have the following script to retreive data from a website according to 2 variables; "seachtype" and "queryvalue".
curl -s -d searchtype=@srctyp -d queryvalue=@srcno -d "action=Search" http://www.ato.gov.au/scripts/super//search.asp > atoresult
I have had the retreival work when the values are hard coded but I want to be able to pass these values as files "srctyp" and "srcno". I used the syntax as shown in an example for the -F option.
Is this syntax not available for -d ?
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
Received on 2001-07-12