Versions Compared

Key

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

...

In the file_path you can enter a list of source files. These files must have absolute paths from the viewpoint of the WebDAV server.

In this example we have two files with the same name (/jade/out/1.txt and /jade/out2/1.txt).

After the transfer into the target directory they are only one file /tmp/test/jade/in/1.txt.

Here we have three profiles with different behaviour

Code Block
[filepath_append]
include = copy_webdav2local
file_path = /jade/out/1.txt;/jade/out2/1.txt
append_files = true 


[filepath_no_overwrite]
include = copy_webdav2local
file_path = /jade/out/1.txt;/jade/out2/1.txt
overwrite_files = false


[filepath_overwrite]
include = copy_webdav2local
file_path = /jade/out/1.txt;/jade/out2/1.txt
  • In the first example filepath_append the target file has the content of both source files.
  • In the second example filepath_no_overwrite the target file has the content of the first source files (/jade/out/1.txt).
  • In the third example filepath_overwrite the target file has the content of the second source files (/jade/out2/1.txt).
Example with file_

...

spec

...IN PROGRESS...

Example: transfer from local file system to WebDAV server

...

The profile copy_local2webdav will be included in further profiles

...IN PROGRESS...