1.7. Element `upload`
Prev | 1. Reference | Next

### 1.7. Element `upload`

    <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:

copyFile

  Specifies a single file to be copied to the upload destination.

  The URL specified by the `to` attribute is resolved against the URL specified by the `base` attribute.

copyFiles

  Specifies possibly multiple files to be copied to the upload destination. If a matched file is a directory, it will be recursively copied. Has no effect is specified wildcard does not match any file.

  The URL specified by the `toDir` attribute is resolved against the URL specified by the `base` attribute.

Unless used in XMLmind XML Editor Professional Edition, this element will cause its parent process command to be disabled.

Prev | Up | Next
1.6. Element `processFO` | Home | 1.8. Element `post`