WebGet

Syntax

WebGet,<FileToDownload>,<FileOnDisk>[,MD5][,Ask][,Timeout]]

Use this function to download files from a network server to the local machine.

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 doesn't exist, it will be created. If a file already exists it will be overwritten (read WebGetIfnotExist for alternative behavior)

Example:

In this example we download the file iview423.zip from server foo.com to the folder c:\IrfanView\iview423.zip

WebGet,http://foo.com/iview423.zip,c:\IrfanView\iview423.zip,fd490d07cc236cb44ef29abfd9daf13d,ZIP-file,10