Tips for downloading files with ONDOWNLOAD

Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team
Post Reply
Tom, Tech Support
Posts: 3834
Joined: Mon May 31, 2010 4:59 pm

Tips for downloading files with ONDOWNLOAD

Post by Tom, Tech Support » Tue May 17, 2011 12:26 am

In general, iMacros will download files to the folder and file name specified with the ONDOWNLOAD command.

During playback however, you may have encountered one of the following scenarios:
  • The file downloads to the folder specified in the Firefox Options (on the General tab), regardless of the values you specified for the FOLDER and FILE parameters of the ONDOWNLOAD command.
  • You are prompted with the Save File As dialog box and iMacros does not handle it.

    In both cases, the macro eventually errors out with -804: ONDOWNLOAD command was used but no download occurred.
If you have experienced one of these situations, then check to see if a Content Type for the file exists in the Firefox Options (on the Applications tab). If the type of file you are attempting to download exists in this list, then make sure the Action is set to "Always ask":
Firefox Content Type.png
If you still have problems downloading the file, please follow the forum guidelines and make a post in the iMacros for Firefox forum.

Related forum posts:

ONDOWNLOAD problem with csv & xls file type
Error using ONDOWNLOAD
How do I solve the problem on the ONDOWNLOAD?
Regards,

Tom, iMacros Support
Post Reply