cURL / Mailing Lists / curl-users / Single Mail


Re: Error Uploading file to Apache using cURL

From: Daniel Stenberg <>
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/ -#

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 email is sponsored by: Giveback Program.
Does help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here:
Received on 2003-11-03