in reply to UrlDownloadToFile function

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.

Replies are listed 'Best First'.
Re^2: UrlDownloadToFile function
by shayak (Acolyte) on Apr 06, 2011 at 08:40 UTC
    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().
      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
        ya i have a script that downloads a file. But i dont know the time i should wait for the download to complete. So i needed something which tells me that the file has finished downloading so that i can call another script for processing the file downloaded.
          A reply falls below the community's threshold of quality. You may see it by logging in.