Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to refresh my FTP Directory contents...
Message
 
 
To
12/06/2002 12:26:44
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00667478
Message ID:
00667703
Views:
37
This message has been marked as the solution to the initial question of the thread.
>I have a Form that loads a Procedure file and creates an FTP Object using the WinInet.Dll . If I use another FTP Application to delete a file from my FTP Directory, and then refresh the Directory form my Application, the file that was deleted still shows! I thought that possibly closing the Internet connection and then re-opening it would solve this problem, but it didnt. I also released the Ftp Object and re-created it on my refresh button, but no help there either. No matter what I do, I still get the same directory contents... UNLESS I quit foxpro and restart it. What am I missing??

Try to add INTERNET_FLAG_NO_CACHE_WRITE ( 67108864 ) to the flags parameter of FtpFindFirstFile() function to prevent file caching.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform