cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTPS POST Upload???

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 8 May 2002 16:23:55 +0200 (MET DST)

On Wed, 8 May 2002, srecko wrote:

This seems more like a curl-users question, so I moved the CC to the
curl-users mailing list instead of the libcurl mailing list...

> I'm working on uploading files on secure.someserver.com. I don't know how
> to verify that the file is uploaded.

Neither do we. That is beyond what the protocol allows us.

> curl -v -FuploadSubmit.x=-1 -FuploadSubmit.y=-1 -FuploadFormFil
> e=@list11.doc -i -Dcookie.txt
> https://print2.kinkos.com/p2k/upload/UploadDocumen t.action > error.html

Most kinds of upload systems require a "login" first. Your command line above
does not include any cookies or other fields that would express that to the
server, and that makes me suspicious.

> * Closing connection #0
>
> From all of this I can see that the file is probably uploaded,

Doesn't the error.html tell you anything?

> but when I connect on site UploadDocument.jsp I don't see my document. From
> IE6.0 this is working (uploading).

Then it seems to have failed.

> Is my curl command good, or the problem is somewhere with session IDs.

The command itself is good, but the server you communicate with probably
requires something more from you and the curl command.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
Received on 2002-05-08