Intro
A character-separated values (CSV) file stores tabular data in plain-text form. Domo provides connectors that allow you to access CSV files you have uploaded to an SFTP (Secure File Transfer Protocol) server:- The Domo CSV SFTP Pull connector (formerly called the “CSV-SFTP” connector) allows you to access CSV files that you have uploaded to your own SFTP server.
- The Domo CSV SFTP Advanced Security connector allows you to access CSV files from a directory or a zip file that you have uploaded to your own SFTP server.
- The Domo CSV SFTP Push connector allows you to capture and process CSV files that have been uploaded to Domo’s own SFTP. With this connector, Domo gives you credentials, then you push your data to Domo.
Prerequisites
To authenticate to the SFTP server, you must have the following:- SFTP Host name
- SFTP Port number
- SFTP Server Username
- Public Key
To obtain your Public Key:
- Enter the host name, port number, and SFTP server username then click Generate Key.
- Copy the Public key on to the SFTP server.
Connecting to CSV Files
This section enumerates the options in the Credentials and Details panes for the CSV SFTP Advanced Pull connector. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Connector.Credentials Pane
This pane contains fields for entering credentials to connect to your SFTP server. The following table describes what is needed for each field:Field | Description |
|---|---|
| Host | Enter the name of the SFTP host you want to connect to. This must begin with sftp://. For example: sftp://hostname . |
| Port | Enter the port number for your SFTP server. |
| Username | Enter the username you use to authenticate to the SFTP server. |
Details Pane
In this pane you choose a CSV report from the SFTP server you’ve connected to.Menu | Description |
|---|---|
| How Would You Like To Choose Your Directory? | Select how would you like to choose the directory. |
| Directory | Select the directory that contains the file you want to access. |
| Enter Directory | Enter the directory path. |
| File Type | Select the file type of the file selected from the directory. |
| Filter Your CSV File | You can select the below options to filter your CSV file.
|
| Select CSV File Name | Select the CSV file name from the drop-down list. |
| Enter CSV File Name | Enter the file name. |
| File Extension | You can either enter csv or txt and search for files with the.csv or.txt extension. This is an optional field. |
| Partial/ Complete CSV File Name | Enter the CSV file name you want to match and filter using the File Name Match Criteria field. |
| File Name Match Criteria | Select the match criteria to filter out the CSV files.
|
| Match Case Sensitive | Select this checkbox if you want to filter the CSV file(s) that matches the case sensitive of the entered file name. |
| Filter Your ZIP File | You can select the below options to filter your Zip file.
|
| Select ZIP File | Select a CSV file to parse from the unzip folder. |
| Enter ZIP File Name | Enter a file name to parse from the zip archive. |
| Partial/ Complete ZIP File Name | Enter the ZIP file name that you want to match and filter using the ZIP File Name Match Criteria field. |
| Zip File Name Match Criteria | Select the match criteria to filter for the ZIP files.
|
| Match Case Sensitive | Select this checkbox if you want to filter the ZIP file that match the case sensitive of the entered file name. |
| Filter Your ZIP Sub File | You can select the below options to filter your file(s) from the selected Zip file. |
| Select Sub File From ZIP File | Select a CSV file to parse from the unzipped folder. |
| Enter Sub File Name From ZIP File | Enter a file name to parse from the zip archive. |
| Enter ZIP Sub File Extension | Limits the search only to files with the specified extension, for example, csv, txt, and so on. |
| Partial/ Complete ZIP Sub-File Name | Enter the ZIP sub-file name you want to match and filter using the Zip Sub-File Name Match Criteria . |
| Zip Sub-File Name Match Criteria | Select the match criteria to filter for the ZIP sub-files.
|
| Match Case Sensitive | Select this checkbox if you want to filter the ZIP sub-files that match the case sensitive of the entered file name. |
| Delimiting Character | Select the delimiting character used in your file. If your delimiter is not listed, then select ‘Other.’ |
| Specify your delimiter | Enter the character used to delimit your character separated values (CSV) text. |
| Quote Character | Select the desired quote character for parsing CSV files. Double quote is the CSV standard default quote character. |
| Custom Quote Character | Enter the desired CSV Quote character. |
| Escape Character | Select the desired escape character for parsing CSV files. |
| Custom Escape Character | Enter the desired CSV escape character. |
| File Encoding | Select the file encoding. |