You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2021/08/02 17:04:00 UTC
[jira] [Commented] (SSHD-1192) SFTP sent/received names encoding
charset
[ https://issues.apache.org/jira/browse/SSHD-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17391702#comment-17391702 ]
Lyor Goldstein commented on SSHD-1192:
--------------------------------------
I believe this might be possible by providing a customized {{SftpFileSystemAccessor}} though I am not 100% sure how this can be achieved - see {{openDirectory, closeDirectory, readFileAttributes}}
> 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: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org