Tips for downloading files with ONDOWNLOAD

Moderator: iMacros Moderators

Tips for downloading files with ONDOWNLOAD

by Tom, Tech Support on Mon May 16, 2011 5:26 pm

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
Tom, Tech Support
 
Posts: 3298
Joined: Mon May 31, 2010 9:59 am

Return to How-To's and Examples for Firefox / JavaScript Scripting

Who is online

Users browsing this forum: No registered users and 1 guest

-->