...
Please look at Parameter Reference Documentation for an overview of the available JADE parameters.
Example: transfer from WebDAV server to local file system
First we create some global profiles for file transfer from a WebDAV host to a localhost:
...
The profile copy_webdav2local will be included in further profiles.
Anchor | ||||
---|---|---|---|---|
|
In the file_path option you can add a list of source file names.
...
Code Block | ||
---|---|---|
| ||
file_path = /jade/out/1.txt;/jade/out2/1.txt |
Anchor | ||||
---|---|---|---|---|
|
The file_spec option expects a regular expression to select files from the directory that is specified by the source_dir option.
...
Code Block | ||
---|---|---|
| ||
[filespec] include = copy_webdav2local source_dir = /jade/out file_spec = \.txt$ [recursive] include = copy_webdav2local source_dir = /jade/out file_spec = \.txt$ recursive = true |
Example with file_spec behind a proxy
First we create a global profile for the proxy parameter:
...
and so you receive the above example with file_spec with proxy support.
Example: transfer from local file system to WebDAV server
First we create some global profiles for file transfer from the localhost to a WebDAV server:
...
The target_dir is not relative to the location in which WebDAV is operated.
Example with file_path
This example is similar to the above example with file_path for transfer from WebDAV host to localhost, however, the direction has changed.
...
Code Block | ||
---|---|---|
| ||
[filepath_append] include = copy_local2webdav file_path = /tmp/test/jade/out/1.txt;/tmp/test/jade/out2/1.txt append_files = true |
Example with file_spec
These examples are similar to the above example with file_spec, however, directions have changed.
...
Code Block |
---|
[filespec] include = copy_local2webdav source_dir = /tmp/test/jade/out file_spec = \.txt$ [recursive] include = copy_local2webdav source_dir = /tmp/test/jade/out file_spec = \.txt$ recursive = true |
Example with file_spec behind a proxy
First we create a global profile for the proxy parameter:
...