cURL / Mailing Lists / curl-users / Single Mail


Unable to upload file Error 500:

From: Patrick Cameron <>
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 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
Received on 2008-03-26