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 2022/04/22 06:33:00 UTC

[jira] [Resolved] (SSHD-1263) I want to get current dir's path ( like `pwd` ) when change dir with `cd` in channel write method

     [ https://issues.apache.org/jira/browse/SSHD-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lyor Goldstein resolved SSHD-1263.
----------------------------------
    Resolution: Information Provided

> 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: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org