SFTP Connector
Prerequisites
- Source URLs (
source_url) must be accessible for direct download (HTTP or HTTPS recommended).
Connector Configuration
Thanks to the interfacing between Wikit Semantics and the SFTP protocol, your Wikit Semantics app allows your users to leverage files hosted on your server. The connector allows synchronizing files from your server to a Wikit Semantics data source, relying on a CSV mapping file to define source URLs.
| Field name | Format / Type | Required | Comment |
|---|---|---|---|
Mapping file (sourceMapping.csv) | CSV file | ✅ | File that defines the files to synchronize and their local organization. It is used for retrieving source URLs |
💡 Fields marked ✅ are required for the connector to work.
Setup
1. Structure the sourceMapping.csv mapping file
Format
The sourceMapping.csv file is a CSV file containing 3 mandatory columns:
- Relative path of the destination directory (
file_path) - Full URL of the source file to download (
source_url) - Name of the file as it will be saved (
title)
Formatting Rules
Mandatory Header: The first line must contain: file_path,source_url,title
file_path :
- Must start with
/for the root - Can contain multiple levels of subfolders:
/Folder/SubFolder - Can be
/to place the file at the root
source_url :
- Must be a complete and valid URL
- HTTP or HTTPS protocol recommended
- Must point to a downloadable file
title :
- Final file name (with extension)
- Will be used to create the file in the specified
file_path