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

Lyor Goldstein commented on SSHD-1227:
--------------------------------------

I don't think it is a good idea to change it only for {{writeDirEntry}} as it 
would introduce inconsistencies between it and other methods that return long 
names - especially since you only do it for V3. However, if you insist, then I 
see no other way other than replacing {{writeDirEntry}} entirely - which 
includes copy-pasting its code. That has the major drawback of introducing 
possible incompatibility with future code changes. My advice: replace 
{{getLongName}}

> 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
>            Assignee: Lyor Goldstein
>            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]

Reply via email to