Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Pureftp display garbled problem

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The coding problem of pureftp

Pureftp supports RFC2640, which can effectively solve the coding problem under Windows and Linux. Add-- with-rfc2640 at compile time, and add to the configuration file

Edit 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 (just copy the previous one, which means what code the client displays)

ClientCharset GB2312 (just copy the previous one, which means what encoding the client uses to upload the file)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report