| Author | Message |
|---|---|
|
Cus
Guest |
Posted: 16 Jul 2009 21:25
Currently OpenSSH, the most commonly used sftp-server implementation only supports SFTP protocol version 3. This version has a serious problem: the character encoding of the filenames is unspecified with it. It would be very useful if one could add a tiny (no more than a few lines) patch to openSSH and with that patch, the sftp-server could give a hint to WinSCP (and other sftp clients) to use UTF-8 filenames. (The current behavior of WinSCP is not to use UTF8 if sftp protocol version is less than 4 or if it's not explicitly requested in the session configuration dialog)
Probably the simplest way to achieve this is to use a custom extension to sftp. Below is a tiny patch to WinSCP that detects this custom extension, and sets the encoding to utf8 when utf8 setting is configured to Auto. http://www.pastebin.ca/1497433 If anybody has a better idea to make WinSCP detect utf8 filenames even with openSSH, let me know. Asking the users every time to set the UTF-8 setting to "On" is not very user-friendly, the majority of my users don't even know what utf-8 is, they just want things to work |
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 11779 Location: Prague, Czech republic |
Posted: 17 Jul 2009
I understand your concerns. If the extension gets to OpenSSH or any fork of it, I'm happy to add support for it to WinSCP.
_________________ Martin Prikryl |
|
Guest
|
Posted: 17 Jul 2009 12:04
I was afraid you say that
|
| Advertisements |
|
You can post new topics in this forum
WinSCP is an open source SFTP client and FTP client for Windows. Its main function is the secure file transfer between a local and a remote computer. Beyond this, WinSCP offers basic file manager functionality. It uses Secure Shell (SSH) and supports, in addition to Secure FTP, also legacy SCP protocol. [More]
WinSCP is also available as a plugin to two file managers, FAR and Altap Salamander.
WinSCP is free, open-source software, and is distributed under the GNU General Public License (GPL). [More]
Site design by Black Gate