Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does FTP support UTF Character Set?

If I want to transfer some file from one system to another system which contains non-English characters. So does FTP support UTF character set ?

like image 224
mohangraj Avatar asked Jan 25 '26 16:01

mohangraj


1 Answers

What we're talking about is filename Unicode support. To transfer a file which is UTF-8 encoded, use "binary" mode.

Although RFC 2640 extended the original FTP specification to support non-ASCII filenames, not every FTP server or FTP client supports it.

You can check your server implementation by running the following on the client's command terminal:

FEAT

and check for:

UTF8

in the response. If not, you will have to guess the 8 bit encoding of the remote side or convert your filename to ascii.

like image 178
Alastair McCormack Avatar answered Jan 27 '26 11:01

Alastair McCormack



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!