<upload base = anyURI > Content: [ copyFile|copyFiles ]+ </upload> <copyFile file = Path to = anyURI /> <copyFiles files = Glob pattern toDir = anyURI />
Copies files generated during the process to remote FTP or WebDAV servers or to the local file system. Can create directories on the fly if needed to.
Child elements:
Specifies a single file to be copied to the upload destination.
The value of the file
attribute is generally a simple file path. However it's also possible to specify a glob pattern, but in such case, this glob pattern must match exactly one file.
The URL specified by the to
attribute is resolved against the URL specified by the base
attribute.
Specifies possibly multiple files to be copied to the upload destination. If any of the matched files is a directory, it will be recursively copied. Has no effect is specified glob pattern does not match any file or directory.
The URL specified by the toDir
attribute is resolved against the URL specified by the base
attribute.