Pure-ftp does not support non-ASCII characters

saman_s1

New member
Joined
Oct 27, 2013
Messages
3
Dear friends

I have problem on uploading file on my server with some other language "ex:Arabic" from filezilla I face this error :
Error : "Server does not support non-ASCII characters"

I use directadmin Custombuild 2 with Pure-ftpd

can anyone tell me what should I do ?
 
pureftpd.org said:
------------------------ CHARSETS (RFC2640) ------------------------
Since version 1.0.21, pure-ftpd has *experimental* support for charsets
conversion. The server filesystem can use a different charset than the
charset assumed by clients, and pure-ftpd translates file names through the
iconv library.

Some modern clients like lftp will also try to use UTF-8 if the server
supports it.

Thus, charsets conversion can be very useful when dealing with file names
containing non-english characters.

In order to support this, pure-ftpd has to be compiled with:

./configure ... --with-rfc2640

This is not supported by default because it requires libiconv.

Then the server has to be started with --fscharset=<charset>. Replace
<charset> with the charset of the server's filesystem. For instance:

/usr/local/sbin/pure-ftpd --fscharset=ISO-8859-15

This is often enough to properly work with UTF-8 capable clients.

But optionnally, you can specify the default charset for clients, with
--clientcharset:

/usr/local/sbin/pure-ftpd --fscharset=iso-8859-15 --clientcharset=big5

Pure-ftpd configuration file is placed in /usr/local/directadmin/custombuild/configure/pureftpd/configure.pureftpd, please copy it to /usr/local/directadmin/custombuild/custom/pureftpd/configure.pureftpd, apply the changes and run "./build pureftpd".
 
Pure-ftpd configuration file is placed in /usr/local/directadmin/custombuild/configure/pureftpd/configure.pureftpd, please copy it to /usr/local/directadmin/custombuild/custom/pureftpd/configure.pureftpd, apply the changes and run "./build pureftpd".

Thanks, It works fine.
 
็Hi

How to make proftpd to work with utf-8 file name too?

Thanks & Best Regards
 
Hi

How I can set proftpd to start with

/usr/local/sbin/pure-ftpd --fscharset=ISO-8859-15
 
Back
Top