Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to refresh my FTP Directory contents...
Message
De
13/06/2002 08:11:24
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00667478
Message ID:
00667853
Vues:
24
>>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!!!!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform