Skip to main content

 Version 5

Legacy documentation for PageSeeder v5

Task ps-upload-put

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

This task has been removed as of PageSeeder v6. Use  Task loadingzone-put instead.

Definition

<ps:ps-upload-put jsessionid="[jsessionid]"
                        port="[port]"
                        host="[host]"
                  siteprefix="[siteprefix]"
               servletprefix="[servletprefix]"
                      output="[output]"
                       group="[groupname]">
  <fileset dir="upload" includes="*.xml">
</ps:ps-upload-put>

Attributes

AttributeDescriptionRequired
jsessionidThe @jsessionid attribute (optional) is used for authentication. It is not required but it will always be used if specified.Yes, unless username/password or propertiesfile are specified
usernameIf @jsessionid attribute is not specified this can be used for authentication.Yes, unless jsessionid or propertiesfile are specified
passwordIf jsessionid is not specified this can be used for authentication.Yes, unless jsessionid or propertiesfile are specified
propertiesfileThe @propertiesfile attribute (optional) describes the location of the properties file to use to connect to the PageSeeder Server.
The value of the attribute can be the full path of the file, the relative path (the base directory is the location of the Ant script) or simply its name, in which case it MUST be located on the classpath.
Yes, unless (jsessionid or username/password) and host are specified
portThe port address of the PageSeeder Server - default: 80
(used when no properties file is specified)
No
hostThe host name of the PageSeeder Server
(used when no properties file is specified)
Yes, unless propertiesfile is specified
siteprefixThe PageSeeder site prefix defined - default: /ps
(used when no properties file is specified)
No
servletprefixThe PageSeeder servlet prefix defined - default: /servlet
(used when no properties file is specified)
No
groupThe name of the group the Loading Zone is in.Yes
outputLocation of the output file. This is meaningful only when the path to download points to a folder (ends with "/"). The output file will contain the list of URIs downloaded.No

Examples

<ps:ps-upload-put output="${output}/uploaded.xml" 
                   group="${ps-groupName}"
              jsessionid="${ps-jsessionid}"
                    host="${ps-host}"
                    port="${ps-port}"
           servletPrefix="${ps-servletPrefix}"
              sitePrefix="${ps-sitePrefix}">
  <fileset dir="${output}" includes="*.*,**" />
</ps:ps-upload-put>
Created on , last edited on