Chilkat v11.5.0 Release Notes

Pinned June 2, 2026

  ✨ New Features HttpCurl A new Chilkat class has been added: HttpCurl The Chilkat.HttpCurl class executes curl commands and can automatically resolve dependent values needed by a request. Variables such as {{access_token}}, {{site_id}}, or {{drive_id}} may appear in URLs, headers, query parameters, or request bodies. If a variable is not yet known, HttpCurl builds […]

Chilkat v11.4.0 Release Notes

Pinned April 1, 2026

  ✨ New Features Js A new Chilkat class has been added: Js is a minimal, standards-compliant JavaScript engine designed to embed JavaScript inside applications with very small footprint and fast startup. It executes JavaScript code inside an application without requiring a browser or large runtime. See About the Chilkat.Js JavaScript Engine Ai Provider — […]

SFTP Append to Existing File

September 8, 2009 in Uncategorized

To append to an existing file using the Chilkat SFTP component / library, open the file for “writeOnly” and “openExisting”, then call any of the Write* methods (such as WriteFileText or WriteFileBytes), and then close the handle by calling CloseHandle. As always, if a method returns a failed status, check the contents of the LastErrorText […]

SFTP Progress Monitoring and Abort (C#)

August 31, 2009 in Uncategorized

Here is an example for monitoring the progress of an SFTP file transfer: void sftp_OnPercentDone(object sender, Chilkat.PercentDoneEventArgs args) { progressBar1.Value = args.PercentDone; // To abort at any point, you may set args.Abort = true // args.Abort = true; } void sftp_OnAbortCheck(object sender, Chilkat.AbortCheckEventArgs args) { // See https://cknotes.com/?p=149 for more information about // using the […]

SFTP Upload in VB6 with Progress Monitoring

August 24, 2009 in Uncategorized

The PercentDone event is called when the percentage completion increases by one or more points.  To use events in VB6, Dim the variable WithEvents.  Then name the event callback using the variable name.  (You should already understand how to use VB6 events in general prior to using the Chilkat objects.  A good VB6 book is […]

SFTP Server Error Messages – sometimes obscure and misleading

August 6, 2009 in Uncategorized

Two recent customer support issues prompted this post.  In both cases, the error reported by the SFTP server was both lacking in information as well as somewhat misleading.  One brand of server was: SSH-2.0-http://www.sshtools.com J2SSH [SERVER] The other was: SSH-2.0-WS_FTP-SSH_7.1 With the 1st SSH server, the following error occurred when trying to open a file: […]

SFTP GetFileSize32 returns 4294967295

July 31, 2009 in Uncategorized

Question: I have an issue with the SFTP component. When using the GetFileSize32 it returns 4294967295 for a file with length of 1324 bytes. L When using the GetFileSizeStr it returns Nothing for a file with length of 1324 bytes. L Answer: GetFileSize32 returns -1 when it fails, so I suspect that if your variable […]

SFTP WS_FTP OpenFile “Folder not found” Error

June 15, 2009 in Uncategorized

If you pass a filename with no path to the SFTP OpenFile method, and the SFTP server is WS_FTP, you may get a “Folder not found” error. An SFTP server *should* open or create the file in the home directory of the logged-in account. This doesn’t seem to be the case with the WS_FTP server. […]

Unlocking Chilkat SFTP

April 5, 2009 in Uncategorized

To use Chilkat SFTP (Secure File Transfer over SSH) you must use the unlock code for Chilkat SSH.  It should contain the substring “SSH”.  If your unlock code contains the string “FTP”, then you are using the FTP2 unlock code, which is incorrect. The SFTP component/API is part of  the “Chilkat SSH” license: “SFTP” is […]

SFTP Progress Monitoring in C++

March 9, 2009 in Uncategorized

This C++ example demonstrates how to derive a class from the CkSFtpProgress base class to implement progress monitoring and abort for SFTP: // To monitor SFTP progress, derive a class from CkSFtpProgress and // provide implementations for AbortCheck and PercentDone: class MySFtpProgress : public CkSFtpProgress { public: MySFtpProgress() { } virtual ~MySFtpProgress() { } // […]

SFTP – Change Current Directory

February 19, 2009 in Uncategorized

Question: I need to change directory before uploading (like a cd) since files must be copied into server sub-directories, and I’ve not found any sample or idea ( no ChangeDir or similar). Answer: SFTP is Secure File Transfer over SSH. It is not the FTP protocol. There is no similarity or relationship between FTP and […]

Understanding SFTP Absolute FilePaths

February 18, 2009 in Uncategorized

Given that your SFTP client might be communicating with servers on different operating systems, what is the proper syntax for an absolute filepath? On a Linux system, there is no “C” drive. Let’s do some experimentation…. For this experiment, we have two SSH servers: 1) A Tectia server running on a Windows platform. 2) An […]