General information
Category:
Internet applications
>>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.
PERFECT!!!! That was exactly what I needed. THANKS!!!!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only