This task downloads and installs a package from an ENVI Repository server. A package can be defined by a name or a UID.

Syntax


Result = ENVITask('DownloadFromRepository')

Input parameters (Set, Get): PACKAGE_METADATA, PACKAGE_NAME, PACKAGE_UID, REPOSITORY_URL, VERSION

Output parameters (Get only): OUTPUT_URI

Parameters marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Parameters marked as "Get" are those whose values you can retrieve but not set.

Input Parameters


PACKAGE_METADATA (optional)

The package metadata associated with the downloaded package.

PACKAGE_NAME (optional)

Specify the name of the package to download.

PACKAGE_UID (optional)

Specify the Universal Identifier (UID) of the package to download.

REPOSITORY_URL (optional)

Specify the address of the ENVI Repository server to use. If not specified, a previously registered server in ENVI will be used by default.

VERSION (optional)

When the package is defined by PACKAGE_NAME, the latest version of the package will be downloaded by default. If an earlier version of the package is already installed, it will be replaced by the newer version. If a specific version is required, use this parameter to request it.

Output Parameters


OUTPUT_URI

The resulting local file once the package has been downloaded.

Methods


Execute

Parameter

ParameterNames

Properties


DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

Version History


ENVI 6.2

Introduced

See Also


PublishToRepository Task, ENVI::DownloadFromRepository, ENVI::RegisterRepository