I'm trying to connect to an FTP server, but the Connect method fails with reason 200 (Connected, but failed to receive greeting from FTP server). After that the client is disconnected (IsConnected = false) and I cannot issue any commands.
For the same server, using FileZilla, I have to set the "Default Remote Directory" to a provided value and it works (otherwise it also fails).
How can I achieve connecting to a default directory, using the Chilkat library? In my case I cannot issue a CWD command, because the client needs to be connected.
Follows the log from Chilkat library (replaced sensitive information with *):
DllDate: Aug 15 2013
Architecture: Little Endian; 32-bit
Language: .NET 4.0
IPV6 enabled connect with NO heartbeat.
Resolving domain name (IPV4) via gethostbyname
GetHostByNameHB_ipv4: Elapsed time: 312 millisec
connect successful (1)
Turning on TCP_NODELAY.
Timeout waiting to read socket or accept connection
recvUntilMatch: Socket timeout.
Failed to read FTP response line..
Failed to connect to FTP server.
Jan 21 '14 at 04:56