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

Thomas Wolf commented on SSHD-1192:
-----------------------------------

Check where in the Apache MINA sshd code 
{{SftpModuleProperties.NAME_DECODING_CHARSET}} is used: only in the client. So, 
no, I don't think this will work.

As far as I understand your use case: you want to configure the SFTP server 
such that it uses a certain encoding for file names in a particular user's 
directories. I guess the upshot of SSHD-1131 is that you would have to 
implement that yourself. Apache MINA sshd has no built-in support for this.

> SFTP sent/received names encoding charset
> -----------------------------------------
>
>                 Key: SSHD-1192
>                 URL: https://issues.apache.org/jira/browse/SSHD-1192
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Susmit Sarkar
>            Priority: Major
>
> Hello Team,
> How can we override the UTF-8 encoding for file names for a client like 
> Tectia to ISO-8859-8 ?
> Will this below piece of snippet work?
> sshdServer = SshServer.setUpDefaultServer(); 
> SftpModuleProperties.NAME_DECODING_CHARSET.set(sshdServer, 
> Charset.forName("ISO-8859-8"));
> Thanks,
> Susmit



--
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