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

Lyor Goldstein commented on SSHD-1086:
--------------------------------------

{quote}
How can resolve this issue then?
{quote}
Don't use {{DirectoryScanner}} - write your own based on it, but make sure to 
use "/" as the separator. I have added such classes to the next release:

[SftpClientDirectoryScanner.java|https://github.com/apache/mina-sshd/blob/master/sshd-sftp/src/main/java/org/apache/sshd/sftp/client/fs/SftpClientDirectoryScanner.java]
 and 
[SftpPathDirectoryScanner.java|https://github.com/apache/mina-sshd/blob/master/sshd-sftp/src/main/java/org/apache/sshd/sftp/client/fs/SftpPathDirectoryScanner.java].
 You will need to make some adjustments to them to work with older versions - 
specifically, if you want to use a string path I  would recommend 
{{SftpClientDirectoryScanner}}.

> Base dir doesn’t exist issue
> ----------------------------
>
>                 Key: SSHD-1086
>                 URL: https://issues.apache.org/jira/browse/SSHD-1086
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Netram
>            Priority: Critical
>         Attachments: 309002D7-B870-410D-B4A0-A1683166298A.jpeg
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> I am getting base dir doesn’t exist error message.
> This error is throwing from ds.scan() method.
> This is working in local env not working in remote server.
> Please see the attached code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to