[
https://issues.apache.org/jira/browse/SSHD-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17526268#comment-17526268
]
g3g4x5x6 commented on SSHD-1263:
--------------------------------
Okay, i get it. Thanks for your answer.
> I want to get current dir's path ( like `pwd` ) when change dir with `cd` in
> channel write method
> -------------------------------------------------------------------------------------------------
>
> Key: SSHD-1263
> URL: https://issues.apache.org/jira/browse/SSHD-1263
> Project: MINA SSHD
> Issue Type: Wish
> Reporter: g3g4x5x6
> Priority: Major
> Attachments: image-2022-04-22-08-53-58-243.png
>
>
> Q: any method can do it in channel or sftpsystem?
> something like this:
> {code:java}
> // always get current dir path when change dir with command `cd XXX` in
> channel
> public String getCurrentDirPathWithChannel(){
> return `pwd`;
> }{code}
> !image-2022-04-22-08-53-58-243.png!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]