[
https://issues.apache.org/jira/browse/SSHD-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201469#comment-17201469
]
Netram commented on SSHD-1086:
------------------------------
SshClient client = SshClient.setUpDefaultClient();
client.start();
ClientSession session = client.connect("ns", "ip","host")
.verify(4500000).getSession();
FileSystem fileSystem =
SftpClientFactory.instance().createSftpFileSystem(session);
Path fpath = fileSystem.getPath(fullPathNoEndSeparator);
String remPath=fpath.toString(); ds.setBasedir(remPath); ds.scan();
then i got this error
org.apache.sshd.common.SshException: DefaultOpenFuture[ChannelSubsystem[id=0,
recipient=-1]-ClientSessionImpl[ns@host/ip:poort][sftp]]: Failed to get
operation result within specified timeout: 15000
> 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]