Task loadingzone-put
Used in upload processing scripts to upload documents to the loading zone root folder for the current user in the specified group.
Definition
<ps:loadingzone-put group="[groupname]" config="[config name]"> <fileset dir="upload" includes="*.psml"/> </ps:loadingzone-put>
Attributes
Attribute | Description | Required | Default |
---|---|---|---|
group | The name of the group the Loading Zone is in | Yes | |
folder | The folder to upload to relative to the loading zone root (prefixes file paths relative to @dir in <fileset> or on its own when @file is used) | No | |
config | Universal PS config name | No | default |
Elements
Element <fileset>
The standard ANT fileset element must be used to specify the files to be uploaded.
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.
- user.token or jsessionid or username/password – access token or jsessionid or username/password for connecting to PageSeeder.
Examples
<ps:loadingzone-put group="${ps.config.default.group.name}"> <fileset dir="${ps.config.default.working}/upload" includes="**"/> </ps:loadingzone-put>