pureftp顯示亂碼問題

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 (複製前面的即可,此行意思是客戶端以什麼編碼上傳文件)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章