I am able to connect to the FTP server on issuing ThisFtpControl.ChangeDir('DirName') but it stops at LIST and doesn't proceed further.
Then I get an idle timeout:
The error number was -57 which means Connection was closed because it was idle (inactive).
I am using FTPDemo example to test. This is how the log looks:
227 Entering Passive Mode (165,26,255,231,35,211)
200 Type set to A.
250 Requested file action okay, completed.
257 "/" is current directory.
200 PROT command successful.
200 PBSZ command successful.
215 UNIX Type: A
230 User ****** logged in.
I will appreciate your help in resolving this.