begin prefetch block

This command starts a set of commands to download files.

Version Platforms
8.0.584.0 AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows
8.1.535.0 Debian, Ubuntu

Syntax

begin prefetch block

Examples

Download the file myfile.txt.

begin prefetch block
add prefetch item name=myfile.txt sha1=09d24c690168f084287af838008cbceca8215425 size=234 url=http://example.com/myfile.txt
end prefetch block

Notes

Only one prefetch command block can be used in an action and it must be closed with an end prefetch block command.

Only comments or blank lines are allowed to precede this command. When processing actions with prefetch blocks, download, download as and prefetch are not allowed anywhere in the action script. The download now as command is allowed, but it must be used after the prefetch block.

These commands are allowed within the prefetch block:

These commands are only allowed within the prefetch block. They are not allowed outside of it: