Hi Sorry for duplicate posting
When I use the given command to list all the CSV file from ftp server some times it would be getting slow and not listing the files . But some times the file would be listed. But at the same time I can access the file through windows control panel without delay. I am using the following command
Function boolean FtpGetFile ( &
ulong hConnect, &
string lpszRemoteFile, string lpszNewFile, boolean fFailIfExists, ulong dwFlagsAndAttributes, &
ulong dwFlags, ulong dwContext ) ) Library "wininet.dll" Alias For "FtpGetFileA;Ansi"
Any help, it would be much appreciate