FTP MultiByteToWideChar Error
- Posts: 5
- Joined: 17 Sep 2017
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.
- Site Admin
- Posts: 7205
- Joined: 9 Dec 2007
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.
You can check this e.g. via FileZilla by manually sending the "FEAT" command.
- Posts: 5
- Joined: 17 Sep 2017
The output is as follows: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
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?
- Site Admin
- Posts: 7205
- Joined: 9 Dec 2007
FFS could auto-detect the server encoding, so let's give this a try:
https://www.mediafire.com/file/egintuh6insiz3o/FreeFileSync_11.24_%255BBeta%255D_Windows_Setup%25283%2529.exe
https://www.mediafire.com/file/egintuh6insiz3o/FreeFileSync_11.24_%255BBeta%255D_Windows_Setup%25283%2529.exe
- Posts: 5
- Joined: 17 Sep 2017
I'm late to check your reply. Sorry.FFS could auto-detect the server encoding, so let's give this a try:
https://www.mediafire.com/file/egintuh6insiz3o/FreeFileSync_11.24_%255BBeta%255D_Windows_Setup%25283%2529.exe Zenju, 21 Aug 2022, 18:50
I tested the recently updated version and confirmed that it was connected normally. thank you!