0 votes
by (150 points)

I was using this code to connect to SFTP site:

Sftp sftp = new Sftp();
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
by (147k points)
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!

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