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.