Download Files
Top  Previous  Next

Related example macros: Demo-FileDownload, Demo-ImageDownload

iMacros automatically detects and intercepts downloads. Just start a download while you are in RECORD mode, and iMacros will handle everything for you.

File Downloads are controlled by command:

ONDOWNLOAD FOLDER= FILE=+_{{yyyymmdd_hhnnss}}

The settings for FOLDER and FILE are the same as for the SAVEAS command.

The general web page timeout also applies to downloads. Make sure that the timeout value is long enough to cover the complete download time. If necessary, you can also increase the timeout value in the macro with SET !TIMEOUT.

Normally the download file name is created automatically and consists of the original file name and a date and time tag. If you want to use a specific name for your download, just change the "FILE=" part of the download command.




Page URL http://www.iopus.com/imacros/help/download_files.htm