curl-users
Re: HTTPS POST Upload???
Date: Thu, 9 May 2002 10:08:49 +0200
This morning I fetch the site and stored the cookie and used that cookie to
upload and it works fine (It cross my mind yesterday evening). Than I red
your mail and saw that you proposed to login first, and you were right.
Thank you again. I will try wrap cURL in C++, but not all functionalities.
Anybody done this before?
If I find some bugs, I'll post them here.
Srecko
----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "srecko" <srecko_at_plusstation.com>
Cc: "Curl Mailinglist" <curl-users_at_lists.sourceforge.net>
Sent: Wednesday, May 08, 2002 4:23 PM
Subject: Re: HTTPS POST Upload???
> 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-09