FTP Directory Synchronization and Removing Files

Chilkat FTP2 provides methods for synchronizing a local directory tree with a remote directory tree — in both directions.  The SyncLocalTree method downloads files from the remote tree to the local tree, and SyncRemoteTree uploads files from the local tree to the remote tree.  Both have a number of different “modes” that determine which files are transferred, depending on existence, […]

IMAP: Sequence numbers change when deleting (but not UID’s)

Question: When using IMAP and fetching emails by sequence, does looping through the sequence get affected by deleting in mid-sequence or other changes to the mailbox’s content on the server? Answer: The answer is obtained by examining the IMAP specification (RFC 3501).  Here’s what it says: 2.3.1.2. Message Sequence Number Message Attribute A relative position from 1 to the number […]

Chilkat 9.2.1 Release Notes

(SFTP) Performance improvements for file downloads. (MailMan ) Added the IsSmtpConnected boolean property. (Socket, Java build only) Fixed problem with BindAndListen. (FTP2) Added GetSizeByName64 and GetSize64 methods for C++ and .NET builds. (Email  object) Fixed AspUnpack2 method. (HTTP) Fixed so that HTTP will neither save nor send expired cookies. (HTTP) Fixed so that HTTP will not send cookies marked as […]

Installing Chilkat SMTPQ on Windows 7 64-bit

To install the Chilkat SMTPQ Service on Windows 64-bit: Download Chilkat SMTPQ 64-bit and save to any directory. Run the ChilkatSmtpQ_x64.msi. On the “Select Installation Folder” dialog, do not select the default install folder.  Instead, choose a simpler, shorter path such as “C:\smtpq\”.   Also, install for “Everyone”. Open Windows Explorer and navigate to c:\smtpq. Right-click on the SmtpQConfig.exe program and […]

How to Import a Perl Module

(reproduced from http://perldoc.perl.org/Exporter.html#How-to-Import) … In other files which wish to use your module there are three basic ways for them to load your module and import its symbols: use YourModule; This imports all the symbols from YourModule’s @EXPORT into the namespace of the use statement. use YourModule (); This causes perl to load your module but does not import any […]

Example: How to Create an Email DSN (Delivery Status Notification)

ASP: Create DSN (Delivery Status Notification) Email SQL Server: Create DSN (Delivery Status Notification) Email C#: Create DSN (Delivery Status Notification) Email C++: Create DSN (Delivery Status Notification) Email Objective-C: Create DSN (Delivery Status Notification) Email IOS: Create DSN (Delivery Status Notification) Email PowerShell: Create DSN (Delivery Status Notification) Email MFC: Create DSN (Delivery Status Notification) Email C: Create DSN […]

Bind to Adapter Functionality on the Windows Platform

The following is a note from a Chilkat customer, reproduced with permission: “Here is some info you might find interesting. As you may know, we’ve run into strange problems while trying to use the ‘bind to adapter’ functionality (i.e. ClientIpAddress property) of Chilkat (HTTP and FTP).  On Windows 7 it worked fine, but on Windows XP it did not. The […]

Chilkat 9.2.0 Release Notes

(Email Object) The AspUnpack and AspUnpack2 methods were fixed to prevent the creation of duplicate HTML files. (Zip) On Linux systems only, the AppendFiles method failed in a rare specific circumstance. (TAR) Fixed Base256 internal decoding problem to support TAR archives larger than 8GB. (Email, MIME, Crypt2) Internal PKCS7 signed-data issue fixed for cases where the signed data contained no […]

Using chilkat.SYSTEMTIME in Python

Demonstrates how to create and populate a chilkat. SYSTEMTIME object in Python. import sys import chilkat email = chilkat.CkEmail() sysTime = chilkat.SYSTEMTIME(); # The SYSTEMTIME structure has the following members: # wYear (such as 2011) # wMonth (1 = January, 12 = December) # wDayOfWeek (0 to 6, where 0 = Sunday 1 = Monday, … 6 = Sunday) # […]