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 […]

How to tell if Data is AES Encrypted Data?

Question: I really like your component but there’s one problem with Crypt2. Is there anyway to verify if the file is encrypted before decrypt? I’m asking this question is because if I try to decrypt an unencrypted file, that file will be corrupted. Answer: The output of any Chilkat Crypt2 method that does symmetric encryption (AES, Blowfish, Triple-DES, etc.) is […]

About Self-Extracting EXE’s

A few issues relating to self-extracting EXE’s are explained here: The Purpose of a Self-Extracting EXE The purpose of a self-extracting EXE is to provide something that will extract/unpackage files such that no other software is required to be installed on the computer where it is run. Common archive file formats, such as .zip, .tar, etc., all require some sort […]

Perl: undefined symbol: Perl_Gthr_key_ptr

Question: I try to install the Chilkat Perl library into my Linux but I get this error: “/usr/lib/perl5/site_perl/5.8.8/libchilkat.so: undefined symbol: Perl_Gthr_key_ptr” Answer: The Chilkat library is supports multi-threading, so when building Perl one must use the “Multi-Threading” option.

Using Chilkat for Java in Eclipse on Windows

Here are the steps I followed to use Chilkat’s Java library in an Eclipse project on Windows: Open Project->Properties, select “Java Build Path”, click on the “Add External JARs…” button and add the “chilkat.jar” (still within the Project Properties dialog) Click on the “Run/Debug Settings”, select your Java class, then click on the “Edit…” button.  Select the “Arguments” tab, then […]

VB6 FTP File Upload Progress Monitoring

Question: I’ve been trying to get the progress bar in VB6 to work, based on the code on your website, but I’m having no luck.  The event isn’t even being triggered. Answer: Here are some things to try: Test progress monitoring with a large enough file  such that the progress does not go from 0 to 100% instantly. Use the […]

SFTP Permission Denied w/ OpenFile Method

Question: We are trying to upload a file to SFTP using private key. We are able to connect and retrieve folder listing. But when we try to upload to one of the folder on the SFTP we get the “Permission denied” error message. The message is as below. ChilkatLog: OpenFile: DllDate: Feb 15 2010 UnlockPrefix: **** Username: joe Component: .NET […]