pureftp的編碼問題
pureftp支持RFC2640,可以有效解決Windows和Linux下的編碼問題。在編譯時加上--with-rfc2640,在配置檔上加上
編輯pure-ftpd.conf
[root@localhost ~]# vi /etc/pure-ftpd/pure-ftpd.conf
UTF-8 support for file names (RFC 2640)
Define charset of the server filesystem and optionnally the default charset
for remote clients if they don't use UTF-8.
Works only if pure-ftpd has been compiled with --with-rfc2640
FileSystemCharset UTF-8 (複製前面的即可,此行意思是客戶端以什麼編碼顯示)
ClientCharset GB2312 (複製前面的即可,此行意思是客戶端以什麼編碼上傳文件)