sFTP
Last updated
Last updated
Sftp manages jobs related to files transferred to ISM sFTP server. ISM provides bundled sFTP server. The users are managed through Admin/sFTP User menu. The users of this sFTP are not the system user but sFTP only user.
Once a file arrives at ISM sFTP server, sFTP server checks whether the file matches registered job trigger. If a matched job is found, the linked flow is executed.
The port and directory for sFTP is configured in properties/sftp.config.yml file.
This file contains these properties.
When a file is transferred, these two parameters are generated and passed to the flow.
Those values are wrapped in sftp parameter.
Additional parameters can be configured and passed too.
Name | Description |
---|---|
Name | Description |
---|---|
Job Name
Name of the job
User
Sftp user
Directory
The directory to check files
File
Target file. Wildcard (*) can be used.
For example, *.sh can be used.
Job Type
Flow - execute a flow.
Script - execute a batch script file.
ID
Flow ID
port
sFTP listening port
root-directory
sFTP root directory.
All the user directories are created under this root directory.
Default directory is data/sftp.