Hidden IMAP Mailboxes

Question: I developed a mail client who download mail messages from a Cyrus IMAP server. The INBOX mailbox has some “children”. Some of them are defined as hidden, then using e-mail client such as Outlook express or Thunderbird they are not shown while on my client, ListMailboxes(“”,”*”) method (CkImap class) detect them and my application display them. How can I […]

MS-Word document as body of email?

Question: My question is how to I send the contents of a MS-Word document as the body of the email (not as an attachment)? Answer: You cannot. Most email clients (Mozilla Thunderbird, Eudora, etc.) are not capable of displaying MS-Word documents directly. (I’m not sure if Outlook does, I’ve never tested it…) Therefore, you would want to save your MS-Word […]

SFTP Download Files Matching a Pattern

Question: I am trying your component to check if I can integrate it well in an application I need to transfer and manage files using SFTP over SSH. I’ve examined the samples and there’s one thing I’d like to do and cannot find it. Is it possible to read remote folder content but limited only to those items matching a […]

SFTP RemoveFile – File not found

Question: When trying to delete a file using SFTP with this line: success = sftp.RemoveFile(“out/” & fileObj.Filename) we get the error listed below: ChilkatLog: RemoveFile: DllDate: Feb 8 2009 UnlockPrefix: Anything for 30-day trial Username: IUSR_ABCD Component: ActiveX SshVersion: SSH-2.0-1.36 sshlib: GlobalScape SftpVersion: 3 hcCurDate: Wed, 18 Feb 2009 14:23:01 +1100 hcExpire: 4/2009 filename: out/abc123.edi StatusCode: 2 ErrorMessage: File not […]

Selecting Smartcard Hash Algorithm

Question: I’m tried to produce a P7S file with the hash algorithm SHA-512, but the code always produces a signature with an SHA-1 hash for the data. If I’m selecting MD5 as hash algorithm it works fine. I’m using a Smartcard (D-Trust with Siemens Card OS 4.3) , ReinerSCT card reader and as Smartcard CSP Nexus Personal 4.10.1. Here’s my […]

SSH Tunneling (Port Forwarding)

SSH Port Forwarding (or tunneling) allows you to tunnel any TCP connection through an SSH server. For example, consider a database connection: A direct TCP connection: DbClient <—-TCP—-> DbServer An SSH tunneled connection: DbClient <—-TCP—-> SshClient <====SSH====> SshServer <—-TCP—-> DbServer In a tunneled connection, the application connects through an SshClient to an SSH server and starts a direct-tcpip channel, specifying […]

SSH direct-tcpip Port Forwarding (tunneling)

ASP: SSH Tunnel (Port Forwarding via direct-tcpip channel) SQL Server: SSH Tunnel (Port Forwarding via direct-tcpip channel) C#: SSH Tunnel (Port Forwarding via direct-tcpip channel) C++: SSH Tunnel (Port Forwarding via direct-tcpip channel) MFC: SSH Tunnel (Port Forwarding via direct-tcpip channel) C: SSH Tunnel (Port Forwarding via direct-tcpip channel) Delphi: SSH Tunnel (Port Forwarding via direct-tcpip channel) Visual FoxPro: SSH […]

SSH Tunneling a Database Connection

ASP: SSH Tunnel for Database Connection (such as ADO, ODBC, etc.) SQL Server: SSH Tunnel for Database Connection (such as ADO, ODBC, etc.) C#: SSH Tunnel for Database Connection (such as ADO, ODBC, etc.) C++: SSH Tunnel for Database Connection (such as ADO, ODBC, etc.) MFC: SSH Tunnel for Database Connection (such as ADO, ODBC, etc.) C: SSH Tunnel for […]

Zip “Save As” when Unzipping

Question: I have a need to unzip files from zip files created with Chilkat library, but I would like the library to allow me to specify the ‘SaveAs’ name of the file being unzipped.  I have not seen how to do this in the examples or the API documentation. Could you provide any insight into this for me?  I saw that I […]