cURL / Mailing Lists / curl-users / Single Mail

curl-users

Error Uploading file to Apache using cURL

From: Pravin Jade <pravin.jade_at_lionbridge.com>
Date: Mon, 3 Nov 2003 10:36:36 +0530

Hi list ,

I am newbie to cURL .So sorry for putting this question heer.
I have installled cURL on my PC with Windows 2000 OS and Apache 2.0.46
as web server. I want to upload a file to Apache.

In cURL examples , at site http://curl.haxx.se/docs/httpscripting.html
following example is given.

        curl -T uploadfile www.uploadhttp.com/receive.cgi
 I modified it as
         curl -T myfile.doc --trace-ascii debug.txt
http://localhost:8080/cgi-bin/put.pl -#
 Then it shows follwing error on screen as -

     ##
3.6%<HEAD><TITLE>Error</TITLE></HEAD><H1>Error
Publishing File</H1>
An error occurred publishing this file (No PATH_TRANSLATED).
########################################################################
100.0%

I think there may be some problem in put.pl CGI script.I have attached
put.pl here.
Anybody have proper CGI script to receive PUT request at server side ?

Thanx and regards ,
Pravin.

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/

  • application/x-perl attachment: put.pl
Received on 2003-11-03