Received a packet that is too long

0 votes
asked Feb 10, 2010 by Helen (150 points)
edited Feb 15, 2010

I was using this code to connect to SFTP site:

Sftp sftp = new Sftp();
sftp.Connect(hostname);
sftp.Login(username, password);

it was working fine until url was moved to another machine. We did not change hostname, username, and password. Now this code does not work anymore and error "Received a packet that is too long" is thrown. Can you tell me what we have to do to fix this?

Rebex.Net.Sftp.dll File version: 2.0.3484.0; Description: Rebex SFTP for .NET

Applies to: Rebex SFTP

1 Answer

+1 vote
answered Feb 11, 2010 by Lukas Pokorny (102,170 points)
edited Feb 15, 2010
 
Best answer

This might be caused by a bug that was fixed in Rebex SFTP 2.0.3588.0 - please give the newer version a try and let me know whether this solves the problem!

commented Feb 11, 2010 by Helen (150 points)
I have downloaded version 2.0.3588.0 and it solved the problem. Thank you, Helen
...