WebDAV (Web Distributed Authoring and Versioning) is a protocol that allows users to collaboratively edit and manage files on remote web servers. It extends the HTTP/1.1 protocol, providing a framework for users to create, change, move, and delete documents on a server. WebDAV enhances web-based file sharing and collaboration by supporting features like file locking, metadata management, and namespace manipulation.
For a comprehensive understanding of the WebDAV protocol, refer here.
This connector enables reading files from a WebDAV capable server.
Configuration
WebDAV - Connection (ver. 1.0.0)
Host
The URL or IP address of the WebDAV capable server.
Username
The username for authenticating the user on the WebDAV capable server.
Password
The password for authenticating the user on the WebDAV capable server.
WebDAV - Read Files Settings (ver. 1.0.0)
Error behavior
The available values are:
-
Fail and return response: The connector fails at the specified line but generates output with error details.
-
Fail without response: The connector fails - the error will be displayed only in the log.
-
Do not fail and return response: The connector does not fail but generates output records that may be marked with an error and detailed information.
Working mode
The available values are:
- Read single file: Reads a single specified file from the WebDAV capable server.
- Read all files: Reads all files available in the specified directory on the WebDAV capable server.
- Read only new files: Reads only files that have been added since the last read operation.
- Read only modified files: Reads only files that have been modified since the last read operation.
Path
Input data can be referred to using placeholders, i.e., ${input.Path} will be replaced by a value in the Path property.
File mask
More detailed rule for selecting only a subset of files in the specified folder (e.g., *.txt
for text files, *.log
for log files, *.csv
for files with comma-separated values, etc.) Input data can be referred to using placeholders, i.e., ${input.Mask} will be replaced by value in the Mask property.
Number of files to process
Maximum number of files that will be processed in one task run (0 = unlimited, n = exact number).
Input & Output Schema
Input
Data schema is optional
The connector does not expect a specific schema. The required data structure can be achieved by correct configuration. Although the selected connector doesn't require a schema generally, the individual integration task step may need to match the output data structure of the preceding task step and use a data schema selected from the repository or create a new input schema.
Output
WebDAV - Read Files Response (ver. 1.0.0)
Column | Data type | Allow null | Description |
---|---|---|---|
StatusCode | Integer | No | Numerical response from the server to an HTTP request sent to an API |
ErrorMessage | String | Yes | Error message providing details if the operation failed |
Files | WebDAV - WebDAV File v1.0.0 |
Yes | List of files retrieved from the WebDAV capable server |
Status Code
- 200 Success
- 400 Bad request
- 500 Server error
WebDAV - WebDAV File (ver. 1.0.0)
Column | Data type | Allow null | Description |
---|---|---|---|
Name | String | No | The name of the file |
Directory | String | No | The directory where the file is located |
FullPath | String | No | The full path to the file |
Extension | String | No | The file extension |
Data | Base64 | No | The file data encoded in Base64 |
Size | Integer | No | The size of the file in bytes |
DateModified | DateTime | No | The date and time when the file was last modified |
Release notes
3.0.4
- First release