Skip to main content

What this is

The SFTP (Push) source brings data into Zeotap CDP: the SFTP folder is hosted at Zeotap CDP’s end, and you push your files to it. After you create the source, Zeotap CDP issues a User ID, a Server IP and a private key on the source’s Implementation Details tab. You use those three values to connect to the SFTP server, create a dated folder structure under your source ID, and upload your data files. Once the first file lands, the source moves from Created to Integrated and the records become previewable. Creating the source itself is covered on Create an SFTP (Push) Source. If the SFTP folder is hosted at your end and Zeotap CDP should fetch from it instead, use the SFTP (Pull) source. To send audience files out of Zeotap CDP to your own SFTP server, see SFTP Audience Integration.

Prerequisites

Before you start, confirm the following:
  • You have created the SFTP (Push) source. See Create an SFTP (Push) Source.
  • Your Zeotap Admin has allowlisted the IP address you will upload from. You cannot proceed with the integration if your IP is not allowlisted.
  • You have raised a ticket with Zeotap’s Support Team to complete the source creation process.
  • You know your source ID — the folder structure you upload into is keyed on it.
  • You have an SFTP client or command-line access on the machine that will do the uploading.
  • If the source was created with PGP Encrypted set to True, you can encrypt files locally with the account’s PGP public key. See PGP Encryption in Sources.

Get your access details

After creating the source, open it and navigate to the IMPLEMENTATION DETAILS tab. Under the Access Details section you will find:
  • User ID
  • Server IP
  • A link to download the Private Key
The Access Details section of the IMPLEMENTATION DETAILS tab, showing the User ID, Server IP and the private key download link
Download the private key and keep a note of the User ID and Server IP. All three are required in the later stages of the implementation.

Upload files over the command line

Work through the three sub-steps below in order. Everything happens from the machine whose IP your Zeotap Admin has allowlisted.
For PGP-encrypted sources, upload files only in the .pgp format.

1. Connect to the SFTP server

  1. On the IMPLEMENTATION DETAILS tab of your source, download the Private Key.
  2. Launch your command-line interface and change to the directory where the private key was downloaded.
  3. Give the private key read-only access:
  4. From that directory, connect to the SFTP server using the User ID and Server IP from the IMPLEMENTATION DETAILS tab, authenticating with the private key you just made read-only.

2. Create the folder structure

  1. Inside the SFTP server, make a directory named after your source ID.
    Command-line session on the SFTP server after creating the directory named after the source ID
  2. Create child directories inside that main directory, based on the PGP encryption setting chosen when the source was created: Without PGP encryption — use the folder structure /sourceid/raw/yyyy/mm/dd, for example <your-source-id>/raw/2025/01/15.
    Example of the dated folder structure created under the source ID directory
    With PGP encryption — use the folder structure pgpencrypted/sourceid/raw/yyyy/mm/dd, for example pgpencrypted/<your-source-id>/raw/2025/01/15.
  3. Change into the dated directory you just created.

3. Upload the file

  1. Upload the CSV file:
  2. Confirm that the file was uploaded:

Verify the upload

You have implemented the source correctly when all of the following hold:
  • The ls command lists your file in the dated directory you uploaded into.
  • The status of the source changes from Created to Integrated under the SOURCES tab.
  • The uploaded records appear on the source’s PREVIEW DATA tab. See Components of the Preview Data Tab.

Troubleshoot SFTP (Push) uploads

Upload specifications

While uploading the files, ensure that you take care of the specifications mentioned below.

Supported regions

Currently, we support the uploading of files in the following three regions:
  • EU – Upload all the EU countries’ data to the bucket provisioned for you in the EU.
  • US – Upload all the NORAM and LATAM countries’ data to the bucket provisioned for you in the US.
  • IN – Upload all the Indian data to the bucket provisioned for you in IN.
You can find the full country-to-region mapping on Region of Storage.

Supported formats

Currently, you can upload files of the following formats:
  • Text files with field delimiters such as comma, tab or semicolon
  • Record delimiter like newline
  • Text files with JSON records
When selecting CSV and JSON as the file formats, you can upload files with the following extensions:
  • .csv
  • .txt
  • .txt.gz

Supported size

When uploading files from the Sources application UI, ensure that every file is less than 100 MB in size. Currently, there is no size restriction for files that are uploaded directly to the bucket over SFTP.

Supported schema

There is no restriction on the schema of the files that you upload. While creating the corresponding collection(s), you can map the columns to the standard catalogue. For CSV files, we treat the first row as column headers. Therefore, the first row of the file must always be the column name with the proper casing. Ensure that all the headers are present. Also, note that except space and _ underscore, no other special characters are allowed. Any mismatch with the above requirement can lead to an ingestion failure. We support files with multiple schemas if they logically belong to the same source (for example, user and event data from a campaign source), as long as the file format and delimiter remain the same. Refer to Zeotap Standard Fields and name your fields accordingly. You can also use it to define the data type of your source data fields.

Supported PII

Zeotap accepts both hashed and raw PII (Personally Identifiable Information) into your Zeotap account. For hashed emails and cell phone numbers, adhere to the hashing guidelines. You can also use our hashing tool to convert your IDs to the right hashes before uploading them to the Sources module. For raw personal identifiers, we mask the PII across the UI for all roles once you classify them in your organisation’s catalogue. Flagging the raw PII fields in your org’s catalogue is a critical step and is the responsibility of the org. The encrypted data is only available to the downstream systems for activation purposes.
We use the RSA Encryption Algorithm.

FAQ

For a source without PGP encryption, use /sourceid/raw/yyyy/mm/dd. For a PGP-encrypted source, use pgpencrypted/sourceid/raw/yyyy/mm/dd and upload only .pgp files. Substitute your own source ID for sourceid.
Yes. Files with multiple schemas are supported if they logically belong to the same source — for example, user and event data from a campaign source — as long as the file format and delimiter remain the same.
Your Zeotap Admin allowlists the IP you upload from. Confirm with them that yours is allowlisted before troubleshooting anything else.

Next steps

Last modified on November 17, 2026