lippo
asked on
Cache screwed me up
My co-worker wrote a C++ function that uses the CInternetfile class to get a file via FTP from our server to a local directory, say C:\XXX. However, we found out, after installing IE5, the file is cached in the Temporary Internet Files Directory. Therefore, sometimes when I open the file from C:\XXX, the content is the same even if the content on the server has changed. It obviously got the file from the cache.
I tired to delete the file from the cahce, but windows does not allow me to do so sometimes. From Visual Foxpro, I can't delete the file from the cache too. I believe that it is controlled by Windows. so I guess deleting the file is not a possible way...
How can I force it to download from the server, not the cache?
I tired to delete the file from the cahce, but windows does not allow me to do so sometimes. From Visual Foxpro, I can't delete the file from the cache too. I believe that it is controlled by Windows. so I guess deleting the file is not a possible way...
How can I force it to download from the server, not the cache?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.