curl-users
Re: ssl upload file
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 25 Oct 2006 10:42:11 +0200 (CEST)
Date: Wed, 25 Oct 2006 10:42:11 +0200 (CEST)
On Wed, 25 Oct 2006, 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
This is not really a curl issue. We can see that curl sends the whole POST
just fine to the server, but the server somehow doesn't like the data.
So, you need to change the data, the encoding or something like that to please
the receiving server. It is impossible for us to know exactly how. You need to
check with the server's admins, use LiveHTTPHeaders or similar to learn
exactly how to format your post.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-10-25