FTP MultiByteToWideChar Error

Get help for specific problems
Posts: 5
Joined: 17 Sep 2017

sdw5456

2022-08-18 20 48 43.png
2022-08-18 20 48 43.png (31.12 KiB) Viewed 910 times
2022-08-18 20 49 28.png
2022-08-18 20 49 28.png (2.37 KiB) Viewed 910 times
====
Cannot read directory

Unexpected FTP response. (modify=20190102231156;perm=adfrw;size=20044;type=file;unique=801UE;UNIX.group=1000;UNIX.mode=0666;UNIX.owner=1000; 증명사진.jpg) ERROR_NO_UNICODE_TRANSLATION: 대상 멀티바이트 코드페이지에 유니코드 문자의 매핑이 없습니다. [MultiByteToWideChar(증명사진.jpg)]
====
I am Korean, and files with Korean file names are stored on my ftp. When I connect to my ftp and look up the file list, an error occurs. Please check the attached image.

My NAS is set to UTF-8 encoding. In Android applications, filezilla, and iPhone applications, the FTP file list is normally displayed.(Of course, these applications are also configured to connect to FTP with UTF-8.) However, this only happens with the Freefilesync app.

The strange thing is that in the past freefilesync version 10.1 did not cause any problems. This has been happening since version 10.2 and has not been fixed until now.

Is a fix possible? If necessary, I can open some folders on my NAS for testing. Please let me know if you need it.
User avatar
Site Admin
Posts: 7205
Joined: 9 Dec 2007

Zenju

I suspect your FTP server is failing to correctly identify UTF8 support via FEAT: https://www.rfc-editor.org/rfc/rfc2640#section-3.2
You can check this e.g. via FileZilla by manually sending the "FEAT" command.
Posts: 5
Joined: 17 Sep 2017

sdw5456

I suspect your FTP server is failing to correctly identify UTF8 support via FEAT: https://www.rfc-editor.org/rfc/rfc2640#section-3.2
You can check this e.g. via FileZilla by manually sending the "FEAT" command. Zenju, 18 Aug 2022, 12:10
The output is as follows:
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: MFMT
Response: TVFS
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: LANG en-US*
Response: REST STREAM
Response: SIZE
Response: 211 End

There is certainly no UTF-8 response. Unfortunately, it is impossible for me to modify this because my NAS is from a specific company (EFMiptime). Is there any way to force a UTF-8 connection?
User avatar
Site Admin
Posts: 7205
Joined: 9 Dec 2007

Zenju

Posts: 5
Joined: 17 Sep 2017

sdw5456

I'm late to check your reply. Sorry.
I tested the recently updated version and confirmed that it was connected normally. thank you!