login about faq

Maybe I don't fully understand how to use the SSH session for the sftp chilkat component. When I call downloadFileByName with my application, then later on call disconnect when clicking a button from my UI, the file download always finishes before finishing the call to disconnect.

How does one cancel a download that is in progress in a SSH session?

EDIT I'm using ChilkatDotNet4 v9.2.1.0


For anyone that was/is confused by the documentation's lack of specific connection between documentation line items, you can set the HeartbeatMs to something other than zero to have the sftp_OnAbortCheck fire at the value assigned.

The reference to HeartbeatMs is not stated in the documentation for DownloadFileByName or any of the other sftp operations. It may be a good idea to explicitly reference the HeartbeatMs property and sftp_OnAbortCheck event.

asked Nov 19 '12 at 15:47

adactuslatem's gravatar image


edited Nov 21 '12 at 12:10

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



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



Asked: Nov 19 '12 at 15:47

Seen: 2,440 times

Last updated: Nov 21 '12 at 12:10

powered by OSQA