PercentDone callback counts as an AbortCheck

Question: “I’ve got the Chilkat C++ libs linked with my project, and am using the HTTP classes successfully. One thing is confusing me, though. I’ve derived a class from CkHttpProgress.h and overridden AbortCheck(…) to provide cancellation support. However, AbortCheck(…) never gets called. At first, I thought perhaps the HTTP retrieval was occurring too quickly, so I set the “HeartbeatMs” property to “1”, and it […]

AbortCheck Event in Chilkat .NET Components

The AbortCheck event is standard in Chilkat .NET classes that involve communications over sockets (FTP, POP3, SMTP, IMAP, HTTP, etc.) or time-consuming operations such as zipping/unzipping large files. There are three steps to using AbortCheck: 1. Enable event callbacks by setting the EnableEvents property = true. Chilkat.MailMan mailman = new Chilkat.MailMan(); mailman.EnableEvents = true; 2. Set the HeartbeatMs property. The […]

Can Ftp2.SyncLocalTree be progress monitored?

The FTP2 component’s SyncLocalTree method downloads an entire directory tree from an FTP server to the local filesystem. There are several modes of operation: mode=0: Download all files mode=1: Download all files that do not exist on the local filesystem. mode=2: Download newer or non-existant files. mode=3: Download only newer files. If a file does not already exist on the […]