I don't know any UrlDownloadToFile function, but judging from the name, LWP::Simple's getstore might do what you want.
| [reply] [d/l] [select] |
I suspect you mean this. There are several ways to achieve the same thing in perl without calling urlmon.dll. moritz has suggested a sane solution.
| [reply] |
I actually wanted to know, when a file has finished downloading through IE as i need to run a script as soon as the download finishes.For that i needed urldownloadtofile().
| [reply] |
For that i needed urldownloadtofile().
Why? If you are already running a script that has just downloaded the "file", why can't you carry on with whatever the next part of the processing is in the same script?
If you are prepared to move to Perl you should take advantage of the move by thinking outside the constraints of the previous technology and really take advantage of Perl. It may help if you tell us about the larger task you are trying to perform so we can point you toward suitable tools from the Perl web toolkit.
True laziness is hard work
| [reply] |
| [reply] |
How do i use the UrlDownloadToFile function in perl ?? Do i have to write the function itself and then call it or a is it available and i just need to call it through perl..
you need to search, perl UrlDownloadToFile, Win32::API help | [reply] |