cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP Upload

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 15 Nov 2007 23:15:05 +0100 (CET)

On Wed, 14 Nov 2007, Conrad wrote:

> I want upload files by FTP. I can get this to work but only if I have a
> file in the destination directory already which I have specified in
> CURLOPT_URL. Is there a way to FTP files to an empty directory? If I leave
> the destination directory empty, I get an error saying the file can't be
> found. If I leave the filename off the URL, the URL is not accepted.

libcurl version on what operating system?

Can you show us a full command/response sequence that libcurl sends and
receives when it hits this problem?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-11-15