cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Example and Curl PB

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 1 Mar 2002 16:44:36 +0100 (MET)

On Fri, 1 Mar 2002, raoul cridlig wrote:

> curl -T file www.xxx.com/tmp is working.

... no trailing slash

> But Httpput.c example (httpput file www.xxx.com/tmp)

... no trailing slash

> <HEAD><TITLE>Error</TITLE></HEAD><H1>Error Publishing
> File</H1>
> An error occurred publishing this file (Cannot write
> to /home/httpd/tmp/).

... a trailing slash? How did that end up there?

> Why ?

Good question and one really hard for us to figure out. Produce a protocol
dump with CURLOPT_VERBOSE set TRUE. Compare the output with the same output
that the command line client produces with -v.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-01