-
GadskyPapa
Guest
support server-client file names translation
Advertisement
I would like WinSCP to support server-client file names translation. E.g., my unix box runs KOI8-R locale and my Windows system has CP866 file names locale. So I would like my unix box file names to be converted to CP866 on-the-fly via application settings.
Advertisement
-
martin◆
Site Admin - Joined:
- Posts:
- 41,506
- Location:
- Prague, Czechia
Re: support server-client file names translation
WinSCP supports Unicode.
-
Artem Tashkinov
Guest
The problem is that my server locale is KOI8-R. I have no idea how SFTP works but by now all file names look like a mess.
-
martin◆
Site Admin
Sure. But your SFTP server should translate it into Unicode. If it does not, blame your SFTP server, not WinSCP.The problem is that my server locale is KOI8-R. I have no idea how SFTP works but by now all file names look like a mess.
-
Artem Tashkinov
Guest
I have openssh-4.1p installed and that's the _most_ common and widely used SSH implementation in the world. Meanwhile its SFTP part contains only protocol version 3.
Any ideas?
Any ideas?
Advertisement
-
Artem Tashkinov
Guest
I meant OpenSSH server from openssh.org (that OpenBSD's implementation).
-
martin◆
Site Admin
It is the most common, but unfortunatelly their SFTP server is one of the most backward :-(I have openssh-4.1p installed and that's the _most_ common and widely used SSH implementation in the world. Meanwhile its SFTP part contains only protocol version 3.
-
GadskyPapa
Guest
It is the most common, but unfortunatelly their SFTP server is one of the most backward :-(
https://bugzilla.mindrot.org/show_bug.cgi?id=1068
-
Artem Tashkinov
Guest
Is it possible to export locale variable upon login to SSH server? If so, you could add an extra option to WinSCP like "Run these commands upon login" where we could enter:
export LANG="ru_RU.CP866" or export LANG="ru_RU.UTF-8" and enjoy "good" file names.
export LANG="ru_RU.CP866" or export LANG="ru_RU.UTF-8" and enjoy "good" file names.
Advertisement
-
martin◆
Site Admin - Joined:
- Posts:
- 41,506
- Location:
- Prague, Czechia
So post there follow up, to push them to implement SFTP4 :-)It is the most common, but unfortunatelly their SFTP server is one of the most backward :-(
https://bugzilla.mindrot.org/show_bug.cgi?id=1068
-
martin◆
Site Admin - Joined:
- Posts:
- 41,506
- Location:
- Prague, Czechia
It is not possible with SFTP :-(Is it possible to export locale variable upon login to SSH server? If so, you could add an extra option to WinSCP like "Run these commands upon login" where we could enter:
export LANG="ru_RU.CP866" or export LANG="ru_RU.UTF-8" and enjoy "good" file names.
However most SSH servers launch some kind of startup script on login. You can set the variables from there. Typically it is script associated with your default shell, because SFTP server is usually run via default shell.
Advertisement
You can post new topics in this forum