SOLVED: 425 Unable to build data connection: Operation not permitted

This error message is specific to the ProFTPd server.  A Chilkat customer found this error within the LastErrorText after trying to upload or download a file, or retrieve a directory listing: 425 Unable to build data connection: Operation not permitted The latest ProFTPd server has a configuration setting that by default requires SSL/TLS sessions to be re-used, and this breaks […]

How to Register an ActiveX DLL using regsvr32

(Also see the ActiveX DLL Registration Tutorial) The first step is to determine if you need to register the ActiveX DLL compiled for 32-bit or 64-bit.  If your computer is 32-bit, the choice is obviously 32-bit.  Let’s start with it: How to Register a 32-bit DLL on a 32-bit Windows operating system Using a text editor, create a .bat file […]

Handling Accented Characters in Filenames w/ IIS 7.5 FTP

To handle accented characters in filenames correctly, the FTP client must know what character encoding is used to represent these characters (such as utf-8, iso-8859-1, etc.). The Ftp2.DirListingCharset property indicates the character encoding to be used when interpreting the bytes of a filename (in a directory listing). By default, it is set to “ANSI”, which is another name for the […]

Chilkat 9.1.2 Release Notes

FileAccess: Changed “int” arguments to “unsigned int”. bool FileOpen(String *filename, unsigned int accessMode, unsigned int shareMode, unsigned int createDisp, unsigned int attr); RSA: If the result of a signature was a binary value such that the leading byte(s) were 0, then these NULL bytes were not included in the encoded output (such as for Base64, Hex, etc.). This was fixed. […]

Chilkat Java library now available for MAC OS X

The Chilkat Java library is now available for MAC OS X. For the download link and more information, see http://www.chilkatsoft.com/installJavaMacOSX.asp Chilkat will soon release MAC OS X compatible builds for Perl, Python, and Ruby. Following that, builds for the IOS (IPhone) will be released, along with Objective-C/C++ native libraries for both MAC OS X and IPhone.

FTP2 ActiveX Events

The Chilkat FTP2 ActiveX provides the following event callbacks: ‘ IMPORTANT: For all callbacks, arguments named “skip” or “abort” are output-only arguments. ‘ These arguments may be set to 1 within the callback to either skip a ‘ particular file upload/download, or abort the entire operation. Dim WithEvents ftp As ChilkatFtp2 ‘ Called just before a file is to be […]

Chilkat C/C++ libraries now available for MAC OS X

The Chilkat C/C++ libraries are now available for MAC OS X. For the download link and more information, see http://www.chilkatsoft.com/installMacOSX.asp Chilkat will soon release MAC OS X compatible builds for Java, Perl, Python, and Ruby. Following that, builds for the IOS (IPhone) will be released, along with Objective-C/C++ native libraries for both MAC OS X and IPhone.

Verify / Test a Zip Archive

Question: I need an easy way to verify that a zip downloaded, i.e test it, preferably without actually unzipping it to a directory. I couldn’t find any method like that – the files are small enough in the zip I could probably unzip them into memory. Is that pretty much the only way to do it short of actually unzipping […]

Chilkat 9.1.1 Release Notes

Socket: Added the ReceivedCount property. It always increases to reflect the number of bytes received via any method. It may be reset to 0 by the application at any point. HTTP: Changed ClearEventLog method name to ClearBgEventLog MailMan: Changed default values of MailMan.EmbedCertChain and MailMan.IncludeRootCert to True (or 1 for ActiveX). Spider: Changed CkSpider::GetDomain(url) to CkSpider::GetUrlDomain(url) to avoid conflict with […]

Download SFTP Files Indirectly through a Web Site

Question: I am doing a project that requires a web site to list files from an SFTP server and allow the visitor to download them.  Following the examples on your site, it was very easy to list the files.  However, you have no example of downloading a file to the user, only to the local filesystem.  Do you have any […]