Publishing

Publishing PageSeeder data to print, the Web or both

Task loadingzone-get

Used in upload processing scripts to download documents from the loading zone for the current user in the specified group.

Note

This task is available in PageSeeder v5.9200 and above.

Definition

<ps:loadingzone-get
    group="[groupname]"
    destination="[destination file]"
    path="[file path]"
    paths="[file path list]"
    config="[config name]" />

Attributes

AttributeDescriptionRequired
groupThe name of the group the Loading Zone is in.Yes
destinationThe path of the folder where the file will be downloaded, if it does not exist, it will be created. If creation fails, an error will be raised.Yes
pathThe path in the Loading Zone of the file to download (not URL encoded).Yes, if no paths
pathsA pipe separated list of paths in the Loading Zone of the files to download (not URL encoded).Yes, if no path
configUniversal PS config name - default "default".No

Environment

This task uses the following ps:config environment properties:

  • scheme – scheme for connecting to PageSeeder
  • host – host for connecting to PageSeeder
  • port – port for connecting to PageSeeder
  • servlet.prefix – servlet prefix for connecting to PageSeeder - default  /ps/servlet
  • site.prefix – site prefix for connecting to PageSeeder - default  /ps
  • jsessionid or username/password – jsessionid pr username/password for connecting to PageSeeder

Examples

<ps:loadingzone-get
    group="${ps.config.default.group.name}"
    path=${ps.config.default.upload.path}"
    destination="${ps.config.default.working}/download" />

Created on , last edited on