FTP Timeout trying to Connect on Port 990

Question: What is the cause of this error? ChilkatLog: Connect: DllDate: Dec 2 2008 UnlockPrefix: Anything for 30-day trial Username: <username> Component: .NET 2.0 Hostname: <hostname> Port: 990 IdleTimeoutMs: 60000 ConnectTimeout: 60 HeartbeatMs: 0 Timeout waiting to read socket or accept connection timeoutMs: 60000 Failed to read FTP response line.. initialStatus: -1 initialResponse: Failed to connect to FTP server. Here […]

SSH – Multiple Commands w/out Reconnect

Question: Hi, I’m evaluating Chilkat C++ SSH Library for My VC 9.0 Projects. I have a question: Your examples send only one command. I want to send several commands without reconnect. I experimented and found SendReqShell handles multiple commands execution, not SendReqExec. Can I have a more detailed sample about this? Answer: You may call SendReqExec multiple times on the […]

No X-UIDL header found

The following mailman methods use the X-UIDL email header as the means to identify the email to be downloaded or deleted from a POP3 server: GetFullEmail DeleteEmail DeleteBundle If no X-UIDL header is found within the email, then it is not possible to determine the sequence number of the email to be downloaded or deleted. (POP3 commands to fetch or […]

SFTP Permission Denied on OpenFile

Question: I’m getting error after sftp.OpenFile() call OpenFile: DllDate: Nov 27 2008 UnlockPrefix: Anything for 30-day trial Username: chilkat Component: .NET 2.0 SshVersion: SSH-2.0-5.3.3.56 SSH Tectia Server SftpVersion: 3 hcCurDate: Fri, 28 Nov 2008 09:53:46 +0200 hcExpire: 1/2009 filename: sftp_test.txt access: writeOnly createDisposition: openOrCreate v3Flags: 0xa Sent FXP_OPEN [SSH] Received IGNORE message StatusCode: 3 ErrorMessage: Permission denied, file: sftp_test.txt SshLog: […]

VB6 Variant vs Byte Array

In Visual Basic 6.0, a Variant containing a byte array is different than a byte array. For example, examine this code: ‘ Assume mime is a ChilkatMime object… Set mimePart = mime.GetPart(1) thefile = FreeFile() ‘Get the attachment filename FileName = mimePart.FileName ‘Get the attachment Dim mBody As Variant mBody = mimePart.GetBodyBinary If Len(mBody) > 0 Then Open FileName For […]

File Upload Limits in IIS7 – Increasing the Size Limit

A web application running in IIS7 on Windows Server 2008 will reject any upload that is larger than 30MB. This is the default size limit for IIS7. To increase the maximum file size, add the following code to <system.webServer> in the web.config file: (This example sets the limit to 500MB) <security> <requestFiltering> <requestLimits maxAllowedContentLength=”500000000″ /> </requestFiltering> </security> You must restart […]

No socket exists for sending

If the error message “No socket exists for sending” is found in the LastErrorText, it means that the component is not connected to the server. For example, if Ftp2.PutFile is called to upload a file, but Ftp2.Connect is never called to establish the connection, the “No socket exists for sending” would be found in the LastErrorText. Another possibility is that […]