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 CSV file, which contains the data to INSERT into the specified table in the Oracle database.
This template assumes that the following prerequisites are in place:
This template only performs INSERTs into the Oracle database table specified in the Process Variables.
The input CSV file must contain data corresponding to the table structure in the database. The CSV headers should match the table column names.
Example CSV data
email;address1;address2;country;state;city;zipcode;phone;firstname;lastname;title
john@example.org;15440 River Drive;" #5100";USA;CA;Rivertown;123455;1234567895;John;Twenty-Five-One;Mr
john@example.org;16440 River Drive;" #6100";USA;CA;Rivertown;123456;1234567896;John;Twenty-Six-One;Mr
john@example.org;15440 River Drive;" #5100";USA;CA;Rivertown;123455;1234567895;John;Twenty-Five-One;Mr
john@example.org;16440 River Drive;" #6100";USA;CA;Rivertown;123456;1234567896;John;Twenty-Six-One;Mr
john@example.org;15440 River Drive;" #5100";USA;CA;Rivertown;123455;1234567895;John;Twenty-Five-One;Mr
john@example.org;16440 River Drive;" #6100";USA;CA;Rivertown;123456;1234567896;John;Twenty-Six-One;Mr
john@example.org;15440 River Drive;" #5100";USA;CA;Rivertown;123455;1234567895;John;Twenty-Five-One;Mr
john@example.org;16440 River Drive;" #6100";USA;CA;Rivertown;123456;1234567896;John;Twenty-Six-One;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 | |
SftpServerAddress | SFTP server address. |
SftpServerUser | SFTP server user. |
SftpServerPassword 🗝 | SFTP server password. |
OracleConnectionString 🗝 | Connection string to access the database. |
TableName | Table name in the database. |