Useful information on how to use Cognetik's FTP Connector
How to link your FTP credentials
In Data Streams, after setting up your Data Source, you need to set your Data Destination block.
- Click the Data Destination block
2. From the Data Connector drop down menu, choose FTP and click ‘Link’
3. Fill in the fields below with the appropriate information and select a connection type for your FTP credential.
- The alias can be any name that helps you identify this credential in the Data Streams app.
- The server address is the address where your server is found. It can be a fully qualified name or IP address.
- Username and Password - the Data Destination credentials.
The FTP (File Transfer Protocol) connection is a basic transfer, offers no security, does not take any precautions to protect information transmitted during a session.This includes your username, password, and any files transmitted.
The SFTP (Secure File Transfer Protocol) connection is a secure replacement for FTP (File Transfer Protocol) based on the Secure Shell protocol.
The FTPS (FTP-SSL) connection is a real ftp that uses TSL/SSL to encrypt the control session and if required the data session. With FTPS the control session is always encrypted.
Data destination settings
Credential, Destination folder, and Data Type
After linking your FTP account, you need to choose a credential from the Credential drop-down, a destination folder within your FTP and a format for your data (JSON or CSV).
Naming the stream
You can also choose a prefix for your stream to help you identify the data you just migrated. This prefix will be added to your file name.
- If a prefix is added, the structure for your file name is:
Prefix_Granularity_Date Start.extension (csv or json, depending on your selection)
- If a prefix is not added, by default the structure for your file name is:
Stream ID_Granularity_Date Start.extension
Collate to single file feature
If the Collate to single file box is unchecked, the data will be transferred into separate files based on your granularity preferences.
- If the granularity is set to monthly and the date preset it set for the last 12 months, the data will be transferred into 12 different files.
- If the granularity is set to daily and the date preset it set for the last year, the data will be transferred into 365 different files.
If the Collate to single file box is checked, all the data will be added in one single file, regardless of your date preset option or granularity preferences.