This functionality is only available for certain module packages.

You are here: Reference > Commands > JobServer.MarkFileForDownloadCommand

JobServer.MarkFileForDownloadCommand

Only for Job Server.

Marks the specified file for downloading. When a Job has been completed, the marked files can be downloaded via the user interface of the Job Server (see also action - Example code for an action that offers the target file for downloading in the user interface).

URLs transferred with the argument pathToFile are simply passed through. By contrast, transferred files are stored in the outputFolder of the Repository directory.

Argument

Type

Description

pathToFile

String

Path or URL to the file that is to be marked for downloading. The protocols http and https are supported for URLs.

See also: