[
https://issues.apache.org/jira/browse/SSHD-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446257#comment-17446257
]
Lyor Goldstein commented on SSHD-1227:
--------------------------------------
{quote}
I need to override SFTPHelper class getLongName method logic.
{quote}
Not quite - you have to override the method you encircled that calls
{{SFTPHelper #getLongName}} (you cannot override {{SFTPHelper #getLongName}}
since it is static). Please note though that there is one more location that
calls {{SFTPHelper #getLongName}} +directly+ and thus will not be affected by
your override - see call in
{{org.apache.sshd.sftp.server.AbstractSftpSubsystemHelper.sendLink(Buffer, int,
Path, String)}}
> construct longname with own logic
> ---------------------------------
>
> Key: SSHD-1227
> URL: https://issues.apache.org/jira/browse/SSHD-1227
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Sandeep
> Priority: Major
> Attachments: image-2021-11-18-16-36-06-584.png
>
>
> Hi Team,
> I wanted to construct long name by my own logic, I have data in the input
> attributes map,
> is any way I can do this? In short, I need to override SFTPHelper class
> getLongName method logic.
> !image-2021-11-18-16-36-06-584.png|width=692,height=301!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]