cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Error Uploading file to Apache using cURL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 3 Nov 2003 08:34:18 +0100 (CET)

On Mon, 3 Nov 2003, Pravin Jade wrote:

> I modified it as
> curl -T myfile.doc --trace-ascii debug.txt
> http://localhost:8080/cgi-bin/put.pl -#

In this trace log, you can see a PUT being sent off correctly, right?

> 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).

The script checks for an environment variable named 'PATH_TRANSLATED' that
isn't set. You can hardly blame curl for that.

Remove the check or figure out why it isn't set for you.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
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/
Received on 2003-11-03