Use this function to download files from a network server to the local machine. The WebGetIfNotExist command will only download a file if it is not already found as FileOnDisk - particularly useful to download a zipped file once from an internet server and ignore the download the following times the script is executed.

MD5 check is an additional parameter that can be added to ensure that your file matches a security check based on the MD5 hash calculation.

The optional parameters of Ask and Timeout are only used if enabled , and if enabled, will display a question dialog box, and wait for a response. This can be used to let the user skip over a download operation.

If the target filename folder already exist, it will NOT be created. See WebGet for alternative behavior)


In this example we download the file iview423.zip from server foo.com to the folder c:\IrfanView\iview423.zip ONLY if the file does not already exist in that location, and