cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Support for multi-byte character file names using libcurl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 29 Jan 2008 00:00:49 -0800

On Tue, Jan 29, 2008 at 12:01:59PM +0530, NAGASEKHAR BHUVANAGIRI wrote:
> The problem is not with the contents of the file. Its with the name of the
> file.
> If I upload a file "with file name in multi-byte characters" using a tool that
> does not support multi-byte charcters for file names, it creates some junk file
> name on server for that file. With this we will have problem if we want to
> retrieve the file back, as the name is different from what we have uploaded.
>
> To test this you can try to upload a file with filename in chinese/japanese
> characters.

RFC 959 only supports ASCII file names, so on a RFC 959 server you can't do
it. But if your ftp server supports RFC 2640, you should be able to use
UTF-8 for FTP file names. Have you tried that?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-01-29