|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3190349 ] save multiple files problem with -d
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 06 Mar 2011 22:03:52 +0000
Bugs item #3190349, was opened at 2011-02-23 18:26
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
curl -o file1 http://url1 -o file2 http://url2 -o file3 http://url3
I forgot to mention that I was using the -o and -d option like this,
curl -o file1 -d "param1=1;param2=11" http://url -o file2 -d "param1=2;param2=22" http://url -o file3 -d "param1=3;param2=33" http://url
The url is always the same only the parameters are changing
In this case curl creates file1, file2 and file3 but all files are containing the same content of the last request with "param1=3;param2=33"
I'm using curl 7.20.1 (i686-pc-linux-gnu)
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
If any of these options is used more than once on the same command line,
IOW: you can't do multiple different POST requests in a single command
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info