Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

Please look at check the Parameter Reference Documentation for an overview of the available JADE YADE parameters.

 

Issues

WebDAV support is subject to the following issues:

true
Jira
showSummary
serverSOS JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId6dc67751-9d67-34cd-985b-194a8cdc9602
keyJADEYADE-172

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
example_with_file_path
example_with_file_path
Example with file_path

In the file_path option you can add a list of source file names.

...

Code Block
languagetext
file_path              = /jade/out/1.txt;/jade/out2/1.txt

Anchor
example_with_file_spec
example_with_file_spec
Example with file_spec

The file_spec option expects a regular expression to select files from the directory that is specified by the source_dir option.

...

Code Block
languagetext
[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:

...

Please note that the target_dir has to be specified as absolute path from the viewpoint of the WebDAV server (e.g. DocumentRoot setting in Apache).

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

...

as a result you receive the above  example with file_spec with proxy support.