Workflows · To Tasks · to_ftp

Purpose

Uploads data (or the result of a query as files) to an FTP server. Supports several connection types like FTP, SFTP or FTPS.

Configuration

Example usage

load:
    conn_id: sftp
    type: ftp
    folder: myserver.com/some/folder
    compression: gzip
    destination_format: csv

Properties

propertytypemandatorydescription
conn_idstringnoConnection string as handed to you by the Onesecondbefore team. Default is no connection string for FTP servers that don't require authorization.
typeenumerator(ftp, sftp)yes.ftp = FTP server sftp = SFTP server
folderstringnoDefault is empty. Contains the folder to upload to on the server.
compressionenumerator (gzip, deflate)noOnly use if the extract type is a database (query). Type of compression. Use deflate only with AVRO file format.
destination_formatenumerator (csv, json, avro)noOnly use if the extract type is a database (query). Default is json. Format of the extracted data.

Details

itemdescription
APIFTP(S)SFTP
To typeData upload.