For the benefit of subsequent readers of this thread,
The URLDownloadToFile API works well, but only saves the text of the webpage. Graphics and other support files are not retrieved. Note that webpages that use java generally are designed to hide content, and therefore this API doesn't get the embedded content.