cURL / Mailing Lists / curl-users / Single Mail

curl-users

re: variable use in curl

From: <analyz.oh_at_netzero.net>
Date: Thu, 24 Apr 2008 01:34:05 GMT

04/23/08

Hello:

I am new to cURL. I would like to know how you would use a variable instead of literal data in a cURL command line such as:

curl -i --trace traceout -H "Accept:*/*" -H "X-File-Requester: test"
-d
"tx=RetrieveFile&cz=415171403&tidx=278646f58911110a358cdd1c8317309942ly$3461835983593
54794927634&event=RetrieveFile&file=AMERI08.D4860.ZIP" https://filetransfer.financialtrans.com/tf/FANMail

I would like to use a variable containg AMERI08.D4860.ZIP in place of the literal value: AMERI08.D4860.ZIP.

Any advice would be much appreciated!

Thanks,
analyz
analyz.oh_at_netzero.net

_____________________________________________________________
Let great B to B marketing solutions propel your brand to new heights! Click now!
http://thirdpartyoffers.netzero.net/TGL2211/fc/Ioyw6ijm9ngDpTjrkHJbDs6KVjZxyy2TmUm0lidxDfPSOOVHdM7yeb/
Received on 2008-04-24