cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Unable to upload file Error 500:

From: Patrick Cameron <patrick_cameron_at_hotmail.com>
Date: Wed, 26 Mar 2008 00:30:20 +0000

I hope someone can help me with this. I am trying to upload a file to a site (IBM HTTP Server) using the curl command line utility through Windows. I have successfully uploaded/downloaded files from other sites but I am having one site that is giving me some problems. I am not sure if the @ symbol in the input name is a problem or if there is another problem that I cannot see. Any suggestions would be a big help. Thanks.
 
 
Here is the web page:
------------------------------------
<form name="filetransfer-uploadForm" method="POST" action="/express/file/filetransfer/send.action" enctype="multipart/form-data">
<INPUT TYPE=file SIZE=30 NAME="@TL160;PIS.TF01.TEST(+1)" accept="text/*,application/x-zip-compressed"> <input type="submit" class="mainContent" name="submit" value="Send" onClick="null"> ------------------------------------
 
 
Here is the command I am using (After successful login. Cookie is good.):
------------------------------------
f:\scheduler\bin\curl\curl -b c:\cookie.txt -x myproxy:8080 "https://mysite/express/file/filetransfer/send.action" -F "@TL160;PIS.TF01.TEST(+1)=@c:\test.txt" -F "submit=Send"
------------------------------------
 
 
Error:
------------------------------------
Error 500: (This is received after I run the command without -v or --trace)
HTTP/1.1 500 Internal Server Error.. (from --trace)
------------------------------------
_________________________________________________________________
Test your Star IQ
http://club.live.com/red_carpet_reveal.aspx?icid=redcarpet_HMTAGMAR
Received on 2008-03-26

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET