cURL / Mailing Lists / curl-library / Single Mail


Re: Problem in FTP using c# in cURL

From: Daniel Stenberg <>
Date: Thu, 19 May 2005 17:11:49 +0200 (CEST)

On Thu, 19 May 2005, Amit Kumar Chugh wrote:

> I have used this code to send a file to FTP server .every thing is going
> fine..but it reads the file byte by it place the file on FTP serer
> and give it a name as (nil) ....Now that's my problem .pls tell how can this
> file be save by the same name as it's on client machine....

Set a file name part in the URL you use. That's what libcurl will use in the
remote end. What you call it locally is not known to libcurl.

  Commercial curl and libcurl Technical Support:
Received on 2005-05-19