Click to See Complete Forum and Search --> : FtpFindFirstFile Function or Ftp List methods


Amendra
December 13th, 2002, 01:16 AM
Hi we are using the wininet.dll to develop and FTP based project. We are experiencing some problems when trying to list an Ftp directory structure. The implementation used to list the ftp dir, was by using the FtpFindFirstFile Function and then the findnextFile func. It worked. But what happens is that, sometimes when we modify the contents of the dir structure the contents are not getting refreshed when we call the list method multiple times. Even after quitting the application, this sometimes doesn’t work. So what I want to know is, is there any means of caching going on in the background. Are we supposed to do another implementation? Is there a list method provided by the DLL in any means. Is there better way to implement for the list method.