SFTP
Frends templates for SFTP. SFTP is a standard network protocol used for transferring files over a network.
This template process downloads a CSV file from an SFTP server, converts it to JSON format and then writes the result to an SFTP server. The source and target SFTP servers can be different.
This template assumes that the following prerequisites are in place:
This template process creates a new JSON file based on data in the input CSV file and uploads it to an SFTP server. The data is written as is, with each row in the CSV forming one JSON object. If the target JSON file already exists, it will by default be overwritten, but this behavior can be changed to e.g., append the data to the existing file.
The default port used for both the input and target servers is 23. This can be changed in the corresponding tasks.
firstname;lastname;email;phone
Foo;Bar;foobar@example.com;010111222
John;Doe;johndoe@example.com;010222333
[
{
"firstname": "Foo",
"lastname": "Bar",
"email": "foobar@example.com",
"phone": "010111222"
},
{
"firstname": "John",
"lastname": "Doe",
"email": "johndoe@example.com",
"phone": "010222333"
}
]
This template does not handle transient errors separately.
| InFilePath | Full path of the input file to be read without filename. |
| InFileName | Name of the input file to be read. |
| InServerAddress | Address of the input SFTP Server. |
| InServerUser | User for the input SFTP Server. |
| InServerPassword 🗝 | Password the input SFTP Server. |
| TargetFilePath | Full path of the target file to be written. |
| TargetFileName | Name of the target file to be written. |
| TargetServerAddress | Address of the target SFTP Server. |
| TargetServerUser | User for the target SFTP Server. |
| TargetServerPassword 🗝 | Password the target SFTP Server. |