cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: javascript (solved)

From: Hultström Jonas <Jonas.Hultstrom_at_volvo.com>
Date: Thu, 16 Dec 2004 13:45:01 +0100

I did a change in the parameter list for curl. Instead of using

"curl -d "upload-file=$file&submit_button=$okstr" $puturl"
I did
"curl $common -F "upload-file=@$file" $puturl"
and this solved the problem. No javaproblems!

Jonas

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of Roth, Kevin P.
Sent: den 16 december 2004 13:11
To: curl tool talk
Subject: RE: javascript

That "pop-up" has nothing to do with the actual HTTP traffic involved with this form. You can safely ignore "processing the click" and simply submit the HTTP POST in the usual fashion.

- Kevin

-----Original Message-----
From: Hultström Jonas
Sent: Thursday, December 16, 2004 5:33 AM

I'm dealing with a html-document with the following java-script:

...

It just pop ups a window, where one have to click OK to procced.

Its called from a form....

<FORM ENCTYPE="multipart/form-data" NAME="upload_form" METHOD="Post" ACTION="/cgi-bin/dev/up.cgi" onSubmit='return process_form(this)'>

Is it possible to to make curl process this "click"?
Received on 2004-12-16