I am using Rebex.Net.Sftp and keep getting invalid decoder state when trying to download large files (from 500mb to 2.0Gb) what is the root cause for this?
Please replicate the problem once again and create the log using the LogWriter property of the Sftp object as described here. Either post it here or send to firstname.lastname@example.org. We should be able to tell what is going on then.
We actually do not have that dll in our package where can I get it?
There definitely should be either Common dll or ProxySocket dll in the package. Is there? What version are you using?
I have proxySocket, where does the log have to go? just after connecting?
Depends on what you want to log, for your case anywhere after creating new Sftp object and before calling the method which results in the "Inavlid decoder state" exception.
Sftp sftp = new Sftp();
sftp.LogWriter = new Rebex.FileLogWriter(@"c:\temp\log.txt", Rebex.LogLevel.Debug);
// failing method:
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
If you need immediate assistance, please contact us directly.