Topic "support server-client file names translation"

Author Message
GadskyPapa

Guest


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.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
WinSCP supports Unicode.
_________________
Martin Prikryl
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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Artem Tashkinov wrote:
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.

Sure. But your SFTP server should translate it into Unicode. If it does not, blame your SFTP server, not WinSCP.
_________________
Martin Prikryl
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?
Artem Tashkinov

Guest


I meant OpenSSH server from openssh.org (that OpenBSD's implementation).
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Artem Tashkinov wrote:
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.

It is the most common, but unfortunatelly their SFTP server is one of the most backward Sad
_________________
Martin Prikryl
GadskyPapa

Guest


prikryl wrote:
It is the most common, but unfortunatelly their SFTP server is one of the most backward Sad


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
GadskyPapa wrote:
prikryl wrote:
It is the most common, but unfortunatelly their SFTP server is one of the most backward Sad


https://bugzilla.mindrot.org/show_bug.cgi?id=1068

So post there follow up, to push them to implement SFTP4 Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Artem Tashkinov wrote:
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.

It is not possible with SFTP Sad
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License