cURL / Mailing Lists / curl-library / Single Mail


Re: FTP Upload

From: Daniel Stenberg <>
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:
Received on 2007-11-15