I am successfully using SFTP to get files from one site; however, I get an error message of "Channel has been closed" when the same program uses SFTP to a different location.

I suspect the second location is not defined for SFTP. Would that generate the message "The Channel has been closed"? If not, what would cause this message? The administrator of the second location is not a dedicated IT person so if I have specific questions for him, he can obtain answers for me.

I would appreciate your insight on this error message. Thanks!

asked 15 Feb '10, 14:56

Lynda's gravatar image

Lynda
181
accept rate: 0%

edited 18 Feb '10, 15:21

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18


Try disabling ZLIB compression as described in the SFTP tutorial (no need to specify any of the other parameters) and give it a try. This is a new feature in build 3588 and it looks like it is not working as expected with one of your SFTP servers. Several other users also reported problems with this feature and it will be turned off by default in the next release.

If this doesn't help, please send us the communication log created using the Sftp object's LogWriter property (as described here)

Update: The current release (build 3723) has ZLIB compression disabled by default.

link

answered 17 Feb '10, 11:42

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18
accept rate: 32%

edited 17 Mar '10, 14:32

I can verify that this answer also works very well for the same error in SCP.

link

answered 10 Mar '10, 22:47

Zipper%20Jones's gravatar image

Zipper Jones
261
accept rate: 0%

Yes, the underlying SSH library is the same. It also works for Rebex SSH Shell.

(17 Mar '10, 14:31) Lukas Pokorny ♦♦
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:

×115

Asked: 15 Feb '10, 14:56

Seen: 896 times

Last updated: 17 Mar '10, 14:32