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

g3g4x5x6 updated SSHD-1263:
---------------------------
    Description: 
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!

  was:
Q: any method can do it in channel or sftpsystem?

!image-2022-04-22-08-53-58-243.png!


> 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]

Reply via email to