Windows client access to vsftpd server Chinese garbled problem solved

Source: Internet
Author: User
Tags ftp client

Cause: vsftpd does not handle character encoding conversion, Windows uses GBK encoding, while Linux generally uses UTF-8 encoding.

Solution:

1. vsftpdpatch is used. Currently, only vsftpd-2.0.3-encoding.patch.tar.bz2 is available.

2. Use an FTP client that can be encoded

For example, flashfxp 4.2.1, select site> Site Manager> Site List> quick connection and select the connection to use, click Options-character encoding-UTF-8 ].

3. Convert the server directory file encoding [not tested]

In Linux:

Convmvfs/FTP/pub_gbk-O srcdir =/FTP/pub, icharset = utf8, ocharset = GBK
The file name will be GBK when accessing/FTP/pub_gbk, and there will be no garbled characters in windows.
You can also use the following command to convert the file name encoding:
Convmv-F UTF-8-t gbk-r Yourfile -- notest
The -- notest option is not required. Only the converted result is displayed. No operations are performed on the file.

4. Change the FTP server that can process character encoding, such as pureftp.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.