cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Additional parameters with -F

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 29 Jul 2002 11:20:16 +0200 (MET DST)

On Mon, 29 Jul 2002, Matomira, Fernando wrote:

[form cut out]

> /usr/local/bin/curl -c /tmp/aNewCookieJar -F UGA_UserName="aUser" -F
> UGA_Password="aPassword" -F UGA_File=@/tmp/aFile -F
> ReturnTo="javascript:self.close()"
> http://kuwait.krinfo.ch:8000/servlet/PrivateDB.UploadDocumentsServlet
>
> ReturnTo (which does not appear in the form) does not get passed. With -d,
> and urlencoding, it does; but then you cannot have the file field.

But what if you use --trace to see all data that is sent to the remote host,
doesn't the ReturnTo appear in that? I fail to see in what way that field is
special to curl...

-- 
  Daniel Stenberg -- curl groks URLs
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
Received on 2002-07-29