SFTP - Get file content

The SFTP - Get file content action allows to read the content of a file from an SFTP server.

You must create the SFTP server connection details beforehand on the SFTP Connections window on the Extension Kit Portal.

Action input

Field Description Required
Connection name Choose the SFTP server connection from the drop-down. The get file content operation will be performed using the server details and credentials set on the connection chosen. Yes
File path Enter, or select from the Suggestions drop-down, the path to the desired file. Yes
Infer content type Select to infer the content type from the file extension.
If not selected, the file content will be returned encoded as base64 independent of the file extension.
If selected, the file content is returned as text for the following content types:
text/plain
text/html
text/xml
text/csv
application/xml
application/json
No

SFTP - Get Content Input

Action output

Property Description
ContentType File media type. If not inferred or unknown, it is defaulted to application/octet-stream.
FileContent The content of the file as text or base64, depending on the configuration of the Infer content type field and the content type of the file.

SFTP - Get Content Output