cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: ssl upload file

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 25 Oct 2006 08:00:51 -0700

On Wed, Oct 25, 2006 at 09:31:31AM +0100, Peter Gardner wrote:
> I am trying to use the curl command line tool to post a file to a https site.
> This is reporting an error at the end of the file that I am trying to upload. I
> do not understand the error as it is reporting beyond the end of file
[...]
> => Send data, 554 bytes (0x22a)
> 0000: ------------------------------647907da449b
> 002c: Content-Disposition: form-data; name="app"
> 0058:
> 005a: 13
> 005e: ------------------------------647907da449b
> 008a: Content-Disposition: form-data; name="version"
> 00ba:
> 00bc: 6.1.0.1
> 00c5: ------------------------------647907da449b
> 00f1: Content-Disposition: form-data; name="comp"
> 011e:
> 0120: false
> 0127: ------------------------------647907da449b
> 0153: Content-Disposition: form-data; name="UserID"
> 0182:
> 0184: PLS293
> 018c: ------------------------------647907da449b
> 01b8: Content-Disposition: form-data; name="fileid"; filename="001_dro
> 01f8: p.xml"
> 0200: Content-Type: application/octet-stream

Could it be the server is complaining that the Content-Type of one or more
of these parts is incorrect?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-10-25