You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by sriharsha <sr...@wipro.com> on 2003/12/02 14:14:30 UTC

[users@httpd] Problem with HTTP File Upload using Curl on Windows XP.

Hi,
	I used Curl to upload a file onto the Apache web server (ver
2.0).

I have a simple PUT handler installed (put.cgi) under /cgi-bin/ folder.

I tried executing the command curl 
-T c:\temp\sample.html http://localhost/cgi-bin/put.cgi

I get an error saying: An error occurred publishing this file (No
PATH_TRANSLATED). 

This error message is displayed from within the put.cgi using the
following lines:

# Check we got a destination filename
$filename = $ENV{'PATH_TRANSLATED'};
if (!$filename) { &reply(500, "No PATH_TRANSLATED"); }

Can anyone help me with this.

Thanks in advance.

Regards,
Harsha.


Confidentiality Notice 

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org