Description: My desire to create a one button solution to blow away all files left on my machine from my browser lead me down the path of the URL Cache. This seems to be the place where all internet related files are managed. Of course this journey turned into a full-blown application to look into the cache and view the details of what s actually kept there.
All methods to manipulate the URL cache are part of the WinInet library. This library is fairly low-level (not quite at the socket level, but it s pretty far down there). In addition to the cache, the library also provides http, ftp, and gopher file transfer functionality.
Walking the URL cache is very similar to using the Win32 file related functions. FindFirst (with some parameters) returns a handle, FindNext (until there are no more), that sort of thing. I developed a set of classes to deal with the nitty-gritty. You ll find these in the UrlCacheUtil.h/.cpp files.
The application is fairly self documenting (famous last words). I
- [client] - Using C++ implementation uses socket pro
- [wenjianchuangshu] - Using windows socket file transfer techn
File list (Check if you may need any files):
UrlExplr.rc
res\toolbar.bmp
...\UrlExplr.exe.manifest
...\UrlExplr.ico
res
aboutdlg.h
ComDateTime.h
Convert.h
DlgEntryDetail.h
mainfrm.h
resource.h
stdafx.h
UrlCacheUtil.h
UrlExplr.h
UrlExplrview.h
aboutdlg.cpp
Convert.cpp
DlgEntryDetail.cpp
mainfrm.cpp
stdafx.cpp
UrlCacheUtil.cpp
UrlExplr.cpp
UrlExplrview.cpp
UrlExplr.dsp
UrlExplr.dsw