I am working on a block of code to automate some file downloads using
IE. I am able to get to the download part no worries, but I am stumped
about controlling the file download dialog - I already know where and
what to save and wish to control this from code and eliminate the user
from the scenario.
I am not sure how to go about doing this. I need to use IE as the file
download must be done through an authenticated proxy and also use HFTP
through this proxy to achieve a successful download. Unfortunately it
seems that WinHTTP wont do the job as it doesnt support this scenario
(FTP or HFTP).
Sample code is below:
dim IE as InternetExplorer
set IE = new InternetExplorer
I am thinking of dimmin this into a class module, using the withevents
keyword, and then using BeforeDownloadBegins event and the HWND of the
source object (IE) to somehow try and control the download dialog (the
event happens before the dialog is displayed), but I cant figure it
out this way either.
Does anyone have any pointers how to go about this. I just want to
save the file I am downloading to a pre-specified location (folder).
Any help would be appreciated.
||12/8/2009 2:01:36 PM