cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET