-
-
Notifications
You must be signed in to change notification settings - Fork 962
Description
Hi guys,
I use latest version of SSH.NET (2016.0.0 beta3). I get the following message and stack flow when my application tries to disconnect from remote server:
System.NotSupportedException: Data longer than 2147483647 is not supported.
at Renci.SshNet.SubsystemSession.WaitOnHandle(WaitHandle waitHandle, TimeSpan operationTimeout)
at Renci.SshNet.Sftp.SftpSession.RequestReadDir(Byte[] handle)
at Renci.SshNet.SftpClient.InternalListDirectory(String path, Action1 listCallback) at Renci.SshNet.SftpClient.ListDirectory(String path, Action
1 listCallback)
at DBAService.Logic.FileTransfer.DbaSftpClient.GetCdrAndTrfFiles()
at DBAService.Logic.FileTransfer.FileTransferSession.FileTransferTask() at Renci.SshNet.SubsystemSession.WaitOnHandle(WaitHandle waitHandle, TimeSpan operationTimeout)
at Renci.SshNet.Sftp.SftpSession.RequestReadDir(Byte[] handle)
at Renci.SshNet.SftpClient.InternalListDirectory(String path, Action1 listCallback) at Renci.SshNet.SftpClient.ListDirectory(String path, Action
1 listCallback)
at DBAService.Logic.FileTransfer.DbaSftpClient.GetCdrAndTrfFiles()
at DBAService.Logic.FileTransfer.FileTransferSession.FileTransferTask()
Remote server contains txt files which size <5M
Alex.