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

asked 10 Feb '10, 20:12

Helen's gravatar image

Helen
161
accept rate: 0%


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!

link

answered 11 Feb '10, 08:29

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.4k28
accept rate: 31%

edited 15 Feb '10, 15:24

I have downloaded version 2.0.3588.0 and it solved the problem.

Thank you, Helen

(11 Feb '10, 16:32) Helen
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×141

Asked: 10 Feb '10, 20:12

Seen: 2,157 times

Last updated: 15 Feb '10, 15:24