FTP Progress Monitoring

This post points to the various examples and blog posts scattered among the chilkatsoft.com, example-code.com, and cknotes.com involving progress monitoring of  FTP uploads and downloads using the Chilkat FTP2 ActiveX, .NET component, and C++ libs. Important for Monitoring Upload Progress: The SendBufferSize property is set to a large value (512K) to maximize performance.  Unfortunately, this usually ruins the frequency of […]

426 Connection closed; transfer aborted.

Problem: An FTP transfer fails with the following message found in LastErrorText: 426 Connection closed; transfer aborted Solution: A local firewall may be blocking the connection. Try switching between Active and Passive mode and try again. See these examples: ASP: Active and Passive Modes in FTP SQL Server: Active and Passive Modes in FTP C#: Active and Passive Modes in […]

FTP Auth TLS / SSL problem caused by Firewall Restrictions

The following Chilkat FTP2 error was found by a Chilkat customer to be caused by firewall restrictions. I do not know the specifics of the firewall restrictions that caused the error, but the LastErrorText (with all customer information removed) is reproduced here to help identify this problem in the future. The important point is to see that the SSL/TLS handshake […]

FTP MLST command?

Question: A quickie question about the FTP2 control. I have some clients with strange FTP servers that return the directory listings in formats that no control seems to be able to handle (although I have not tried yours!). However, it is next to impossible to test, since I do not have access to their server. For them, we use the […]

Using Chilkat in Managed C++

The Chilkat VC++ static libraries are for unmanaged C++ applications. A Managed C++ application (using Microsoft’s Managed Extensions for C++) runs within the .NET Framework and therefore must use the Chilkat .NET assembly. The Chilkat C++ online reference documentation and online examples are for unmanaged C++ applications. For Managed C++, the best choice is to read the C# online documentation […]

Upload from ASP code to FTP Server

I get the following support problem about once per week from ASP developers: The ASP developer wants to upload a file from the client computer where the browser is running, to an FTP server.  He writes ASP code to do the FTP upload, but cannot understand why the file is not found.  The thing the ASP developer doesn’t realize is […]

Determining FTP2 Connection Settings

There are many FTP2 component properties that affect how data connections are established between the FTP client (Chilkat FTP2) and the FTP server. Finding a workable combination of property settings for a given client/server situation can be difficult.  This blog post can hopefully provide some guidance. Before beginning, it is crucial to understand one basic thing about the FTP protocol: […]

SocketError: WSAECONNRESET An existing connection was forcibly closed by the remote host.

Question: What is this error message? How can I avoid such error message in the future? ChilkatLog: ChangeRemoteDir: DllDate: Sep 1 2009 UnlockPrefix: ABC123FTP Username: something Component: .NET 2.0 dir: / SocketError: WSAECONNRESET An existing connection was forcibly closed by the remote host. Error sending on socket send_size: 7 Failed to send CWD command Failed. Answer: This indicates that the […]