Skip to main content

Read SFTP

Synopsis

This operator downloads a file from a SFTP Server.

Description

To upload a local file to a SFTP server, a SFTP connection to this server has to be defined. Connection can be defined by using Connections->Create Connection on the top panel.

The file to download is specified by the remote file directory and the remote file name parameters. Note, the remote root directory is represented by '//'. The file is written to disk at the location specified by the file location parameter.

Input

con

The connection object specifiying the SFTP connection.

Output

con

The passed through connection object.

fil

The downloaded file. This can be used in combination with operators like Read CSV or Read Excel.

Parameters

Remote directory

The remote directory on the SFTP server from which the file is downloaded. Note, the remote root directory is represented by '//'.

Remote filename

The name of the file on the SFTP server to be downloaded.