[ 
https://issues.apache.org/jira/browse/SSHD-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17291169#comment-17291169
 ] 

Lyor Goldstein commented on SSHD-1131:
--------------------------------------

{quote}
Is there anything we can achieve same with Mina as well as associated with the 
SsshServer to make things easy?
{quote}
Note that this also ties in with [~twolf]-s question about the used SFTP 
version. You need at least version 6 in order to use the "filename-charset" 
extension (see SSHD-1132). Even if we do implement it, if the client use a 
version less than 6 then you have no recourse but to derive your own 
{{SftpSubsystem}} implementation and "skew" it somehow to do what you need.

{quote}
the commercial legacy server team provided us a solution
{quote}
We are not a commercial server team and do not posses the same resources and 
manpower... :). I would encourage you to derive your own {{SftpSubsystem}} 
implementation and contribute its code to the project, otherwise I don't see 
this being addressed  by us.

> Filenames containing Norwegian Characters not allowed over SFTP in Tectia 
> client
> --------------------------------------------------------------------------------
>
>                 Key: SSHD-1131
>                 URL: https://issues.apache.org/jira/browse/SSHD-1131
>             Project: MINA SSHD
>          Issue Type: New Feature
>            Reporter: Susmit Sarkar
>            Priority: Major
>              Labels: mina, sshd
>         Attachments: image-2021-02-24-15-38-39-337.png
>
>
> Hi,
> Filenames containing Norwegian, Spanish, French, and German Characters not 
> allowed over SFTP in Tectia client, names are getting messed up
> How can I override the decoding charset in *SshServer* :
> DecodingCharset is present for SftpClient:
> client.setNameDecodingCharset(Charset.forName("ISO-8859-8"));
> by default it uses UTF-8
> The SftpClient exposes a get/setNameDecodingCharset method which enables the 
> user to modify the charset - even while the SFTP session is in progress 
> After the file is uploaded the Norwegian characters in the filename are 
> replaced with non-readable characters.
> Can we configure the SshServer to override the decoding charset from the 
> default UTF-8? Is there any API to set the SFTP CharsetEncoding (Set the 
> default encoding for filenames in SFTP sessions)
> !image-2021-02-24-15-38-39-337.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to