SFTP

Frends templates for SFTP. SFTP is a standard network protocol used for transferring files over a network.
This process will connect to an SFTP server and read a JSON file, which contains the data to UPDATE in the specified table in the Oracle database.
This template assumes that the following prerequisites are in place:
This template only performs UPDATEs into the Oracle database table specified in the Process Variables.
The input JSON file will contain the data to be updated in key-value format and must not contain nested elements. It can contain any column names from the table that is to be updated.
Example JSON data
[
{
"email": "dave121@frends.com",
"phone": "1234567820",
"firstname": "Fred",
"title": "Mr"
},
{
"email": "dave123@frends.com",
"phone": "91234567894",
"firstname": "John",
"title": "Mr"
},
{
"email": "dave221@frends.com",
"phone": "91234567898",
"firstname": "Bill",
"title": "Mr"
},
{
"email": "dave224@frends.com",
"phone": "912345679",
"firstname": "OLGA",
"title": "Mr"
}
]
This template does not handle transient errors separately, however the connection to the SFTP server and Oracle database are retried three time before failing.
The template does not handle any SQL errors that may occur - the errors will be thrown as exceptions.
FilePath | Path of the file to be read from the SFTP server. |
ServerAddress | SFTP server address. |
ServerUser | SFTP server user. |
ServerPassword 🗝 | SFTP server password. |
OracleConnectionString 🗝 | Connection string to access the database. |
TableName | Table name in the database. |
RowIndentifier | Column name by which UPDATEs should be performed. This will be used in the WHERE clause to find rows to update. |