Sunday, August 09, 2020

How to Handle File Names' Character Encoding on FTP Server by CrossFTP

This document describes how to handle the file name encoding issue if you are using FTP or FTPS protocols, and met the file names being shown as garbled characters.

Character Encoding

Character encoding is used by FTP client to render the file list received from the FTP server. You need to specify the proper character encoding in the FTP client to decode the correct file names from server.

Which character encoding should be chosen? For western characters the encoding is normally ISO-8859-1. For China, Japan, and Korea, it normally use CJK character set like GBK.

How to Specify Character Encoding in CrossFTP

To specify character encoding for the given FTP server, Go Sites -> Site Manager -> FTP, and change Server Encoding (see Fig. 1)

To specify character encoding for all FTP servers in CrossFTP, go Tools -> Global Options -> Connection -> Server Encoding, and change server encoding. After that, the setting in the global options will be applied for all sites if site "Use Global Setting".

 Fig. 2. Specify Server Encoding at the Global Option

After specifying the server encoding, re-connect the FTP server and press "Refresh" button to refresh the directory content to take effect.

Any questions, feel free to let us know.
-- 

CrossFTP is a FTP, SFTP, FXP, WebDav, Amazon S3, Amazon Glacier, Microsoft Azure, Google Cloud Storage, and OpenStack Swift client for Windows, Mac, and Linux.
CrossFTP Home: http://www.crossftp.com/

 

No comments: