in reply to Re^3: UrlDownloadToFile function
in thread UrlDownloadToFile function

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.

Replies are listed 'Best First'.
Re^5: UrlDownloadToFile function
by bart (Canon) on Apr 06, 2011 at 11:42 UTC
    If you use LWP::Simple's getstore as suggested, you don't have to wait. Or rather: when the function finally returns (it could take a while), the page is downloaded. Completely.
    A reply falls below the community's threshold of quality. You may see it by logging in.