1 Aug 2008 10:46
XML File Upload - Help !
<acpark <at> surefish.co.uk>
2008-08-01 08:46:00 GMT
2008-08-01 08:46:00 GMT
Hello, I am new to curl and trying to upload a file to a remote server and have come across a 4kb limit to the file size. Having viewed the trace files showing the file that I send and the error file I get in return, I am thinking that the file being sent should be chunked and this is not happening. Is there a way of setting the chunk/buffer size ? I am using version 7.18.2 on sparc solaris. Command line - /usr/lib/local/bin/curl -v -k -d <at> export.xml -H "Content-Type: text/xml" -u username:password "https://URL/Upload.ws" The relevant portion of the -v trace is as follows - > Content-Type: text/xml > Content-Length: 4283 > Expect: 100-continue > < HTTP/1.1 100 Continue < Server: Orion/2.0.7 < Date Fri, 01 Aug 2008 08:29:19 GMT < HTTP/1.1 500 Internal Server Error < Server: Orion/2.0.7 < Connection Close < Content-Type: text/xml;charset="utf-8" < Transfer-Encoding: chunked < What follows is an xml error file with an error message of "Parse Error a [row,col]: 1, 4284 Message: Read time out"(Continue reading)
RSS Feed