Specifications

provides a list of passwords for opening password-protected
archives.
Returns true if successful, false if not (in which case an
appropriate error message is logged).
This function behaves exactly as the uncompress tool (except
that it doesn’t add a unique name prefix to the output file or
folder’s name). That is, it supports the same formats and the
output file/folder is structured in the same way.
Extracts the single file specified by the file-path argument from
the source ZIP archive and places it at the destination path in
extract( archive-path : String,
file-path : String,
destination-path : String,
the file system. The last (optional) argument provides a list of
passwords for opening password-protected archives.
passwords : String[ ] ) :
Boolean
Returns true if successful, false if not (in which case an
appropriate error message is logged).
Note that this function supports only the ZIP archive format; it
is intended to extract a manifest from the archive without having
to uncompress the complete archive.
Downloading
Downloads the file specified by the source URL to the destination
path. The source URL must specify the ‘http’ or ‘ftp’ protocol,
download( source-url :
String, destination-path
: String ) : Boolean
including login and password if applicable. The destination path
must include a filename; that is, the it specifies the filename of the
copied file, not the parent folder in which it should be placed.
Returns true if the operation succeeded, false if not. Only one
download attempt is made.
Note:
This function should be used only to place files in a temporary
location; use the Job.sendTo() functions for moving files to outgoing
connections.
Temporary location
This function has the same semantics as the
Job.createPathWithName() function. It is provided as a
createPathWithName( name :
String, createFolder : Boolean )
: String
member of the Environment class so that one can obtain a
location for storing temporary files or folders without having
access to a job (for example, in the timerFired entry point).
457
Enfocus Switch 10