Discussion:
Can you specify a different location for WinINet to cache GET requ
(too old to reply)
Jason
2008-07-31 20:44:00 UTC
Permalink
Is there a way to change the location where WinINet caches data that is
retrieved via InternetReadFile() after a GET request is made (with caching
enabled)? And if so, is it possible for InternetSetFilePointer() (which I'm
using for resume capability) to work using this new cache location? My goal
is to stream a download request to my own location and not have the data
cached in the Temporary Internet Files location.
Ari Pernick [MSFT]
2008-10-07 22:05:08 UTC
Permalink
On a per request or session basis you can't change where WinInet has it's
content cache. BTW, if you are using the cache on Vista or IE7's WinInet,
resume should happen automagically.

-- Ari

This posting is provided "AS IS" with no warranties, and confers no rights
Post by Jason
Is there a way to change the location where WinINet caches data that is
retrieved via InternetReadFile() after a GET request is made (with caching
enabled)? And if so, is it possible for InternetSetFilePointer() (which I'm
using for resume capability) to work using this new cache location? My goal
is to stream a download request to my own location and not have the data
cached in the Temporary Internet Files location.
Loading...