winfsp / sshfs-win

SSHFS For Windows
https://winfsp.dev
Other
4.78k stars 250 forks source link

It doesn't work with Chinese characters in remote path #393

Open PermissionDenied7335 opened 1 year ago

PermissionDenied7335 commented 1 year ago

It seems that sshfs-win cannot handle Chinese characters in its parameter:

C:\Users\grade>net use Z: \\sshfs.kr\wutianyu@192.168.3.2\mnt\storage\主文件夹
System error 67 has occurred.

The network name cannot be found.

But it can properly show these characters as file names when I mount the upper level directory:

C:\Users\grade>net use Z: \\sshfs.kr\wutianyu@192.168.3.2\mnt\storage
The command completed successfully.

C:\Users\grade>Z:

Z:\>dir
 Volume in drive Z has no label.
 Volume Serial Number is 4744-FE59

 Directory of Z:\

2023/06/07  23:35    <DIR>          $RECYCLE.BIN
2023/06/23  11:07    <DIR>          .beeshome
2022/12/04  12:07    <DIR>          DiskGenius
2023/06/07  23:34    <DIR>          System Volume Information
2022/08/11  20:40         6,597,928 geek.exe
2023/06/07  21:24    <DIR>          主文件夹
2023/06/07  22:18    <DIR>          番
2023/06/06  20:57    <DIR>          资料
               1 File(s)      6,598,948 bytes
               7 Dir(s)  126,334,595,072 bytes free