Hi Bruce,
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:
>>LIST
227 Entering Passive Mode (165,26,255,231,35,211)
>>PASV
200 Type set to A.
>>TYPE A
250 Requested file action okay, completed.
>>CWD /DirName
257 "/" is current directory.
>>PWD
200 PROT command successful.
>>PROT P
200 PBSZ command successful.
>>PBSZ 0
215 UNIX Type: A
>>SYST
230 User ****** logged in.
I will appreciate your help in resolving this.
Thanks,
Ubaidullah Nubar.