C Language Callbacks

This example demonstrates the general pattern for implementing some standard event callbacks functions for the Chilkat “C” API.  All Chilkat “classes” what have events will use the standard Chilkat events shown in the example below (AbortCheck, PercentDone, and ProgressInfo). This example demonstrates callbacks for an SFTP download, but the same technique applies to any other Chilkat “class”, such as HTTP, […]

v9.5.0.56 Update: New Features, Fixes, Changes, etc.

Stream: Added a Stream class to be utilized more heavily in the future. StreamConnector: Added the StreamConnector class for .NET to allow for System.IO.Stream’s to be used with Chilkat.Stream. See http://www.example-code.com/csharp/stream_connector_cs.asp Crypt2: Added the EncryptStream and DecryptStream methods. Compression: Added the CompressStream and DecompressStream methods. JSON: Added the JsonObject and JsonArray classes. Zip: Memory leak fixed. Ruby: Added Ruby 2.3 […]

C# SFTP Upload from Byte[]

This example demonstrates how to open a remote file on an SSH/SFTP server, write to the file, and then close it. This is analogous to opening a local file, writing to it, and closing it. The SFTP protocol (i.e. Secure File Transfer over SSH), follows the same concepts as typical file I/O programming — i.e. open a file, read, write, […]

v9.5.0.55 Update: New Features, Fixes, Changes, etc.

Crypt2: Added the chacha20 and Poly1305 Message Authentication Code. Crypt2: Added AES GCM encryption. Zip: Fixed a problem with OpenZipAsync where the 1st call would succeed, but subsequent calls would fail. Email: Email.SaveXml did not save BCC recipients. Crypt2 (blowfish): When Chilkat originally implemented blowfish (more than 10 years ago), there was a problem having to do with byte-ordering. The […]

Multi-Hop SSH Tunneling for Chilkat v9.5.0.55

The ability to multi-hop SSH tunnels is available for testing in the Chilkat v9.5.0.55 pre-release. The typical schemes for multiple hop SSH look like this: (for running a remote shell or commands on SSH_server_B) application => SSH_server_A => SSH_server_B (for connecting to a remote host:port, via Socket with TCP or TLS) application(TCP_or_TLS) => SSH_server_A => SSH_server_B => destHost:destPort (IMAP) application […]

v9.5.0.54 Micro Update: New Features, Fixes, Changes, etc.

Email: Fixed: Setting the Email.From property *after* setting the Email.BounceAddress property would have the side-effect of overwriting the BounceAddress property. SFTP: Fixed rarely encountered flow problems with a particular SSH server. Zip: Fixed: Error in rewriting a ZIP64 zip (larger then 4GB or having more than 65536 files). There was an error when a large zip was opened, potentially modified, […]

v9.5.0.53 Micro Update: New Features, Fixes, Changes, etc.

The 9.5.0.53 release was a partial release. Not all programming language / operating system / architectures were updated with this release. A full v9.5.0.54 release will be out shortly. TAR: WriteTar mistakenly returned true if output file could not be opened/created. XMP: Fixed: XMP issue reading some TIF images with IPTC metadata. FTP2: Fixed problem described here: FTP hangs when […]