What this is
The SFTP (Pull) source brings data into Zeotap CDP from an SFTP server that you host: Zeotap CDP connects out to your server on a schedule and pulls the files it finds in the folder you configured. This page covers the implementation half of that setup — what to do after the source exists, so that the connection actually authenticates and files start arriving. Creating the source itself is covered in Create an SFTP (Pull) Source. If you want Zeotap CDP to host the folder and you push files to it instead, use the opposite source type — see Implement the SFTP (Push) Source.Prerequisites
Before you begin, confirm the following:
- You have created the SFTP (Pull) source in the Sources application, following Create an SFTP (Pull) Source, and raised the accompanying ticket with Zeotap’s Support Team to complete the source creation process.
- You know the User Id, Host, Port and Folder you entered at creation, and the folder path is an absolute path (for example,
/home/user/data/), not a relative one. - You have shell access to the SFTP server with rights to add an authorised key for that user.
- You can change any IP restrictions that apply to the SFTP server, or you can reach the team that can.
How the pull connection works
Zeotap CDP is the client in this integration, not the server. On the Sync Frequency you chose at creation, it opens an outbound connection to the Host and Port of your SFTP server, authenticates as the User Id you supplied and reads the files under the configured Folder. Two consequences follow from that direction, and they are what the steps below cover:- Your server must accept Zeotap CDP’s key, so you add the source’s generated public key to it.
- Your network must accept Zeotap CDP’s connection, so you allow Zeotap’s IP address if IP restrictions apply on your side.
false, Zeotap CDP pulls all files in the configured folder on every run; set to true, it pulls only the files created since the previous pull.
Connect your SFTP server to Zeotap CDP
Step 1 — Download the public key from the Implementation Details tab
Open the source you created and go to the IMPLEMENTATION DETAILS tab. It shows the source’s configuration — Created By, Created Date, Region, File Format, Sync frequency, Delta Queries Selection, Data Entity, PGP encrypted and User Id — along with the Host and Port Zeotap CDP will connect to, under Access Details. Download the Public Key from the Download Public Key panel highlighted in the image below. Your SFTP folder must authorise access using this generated public key.
Step 2 — Add the public key to your SFTP server
Copy the downloaded public key to the SFTP server with the following command:- Replace
public-key-locationwith the location of the downloaded public key. - Replace
userwith your SFTP username — the same User Id the source was created with. - Replace
sftp-serverwith the hostname or IP address of your SFTP server — the same Host the source was created with.
Step 3 — Allow Zeotap’s IP address
If there are any IP restrictions on your end, allowlist Zeotap’s IP addresses on your SFTP server or firewall. The address documented for this source is:Verify the connection
Work through these checks in order:- On the source’s IMPLEMENTATION DETAILS tab, click TEST CONNECTION to check that Zeotap CDP can reach and authenticate against your SFTP server. This is the quickest way to confirm that Steps 2 and 3 landed, without waiting for a scheduled run.
- Allow time for the first pull. After the connection between your SFTP instance and Zeotap CDP is established successfully, data begins flowing within 30 to 60 minutes.
- Check the source’s status on the Sources listing page. It moves from Created — created but no data received yet — to Integrated once data starts flowing in. See Components of the Source Listing page for the full status list.
- Open the PREVIEW DATA tab on the source to see the incoming records. See Components of the Preview Data Tab.
Troubleshoot the SFTP (Pull) connection
If the connection still does not come up after these checks, reach out to your Zeotap POC with the source name and the time of the failed attempt.
FAQ
Which direction does an SFTP (Pull) source move data?
Which direction does an SFTP (Pull) source move data?
Into Zeotap CDP. The SFTP folder is hosted at your end, and Zeotap CDP connects out to it and pulls the files. If you want to push files to a folder hosted by Zeotap CDP instead, create an SFTP (Push) source.
How does Zeotap CDP authenticate to my server?
How does Zeotap CDP authenticate to my server?
With SSH keys — the public key generated for the source and the matching private key held by Zeotap CDP. The public key is the one you download in Step 1 and install in Step 2.
Which IP addresses do I need to allow?
Which IP addresses do I need to allow?
The address documented for this source is
35.190.217.51. Confirm the current list with your Zeotap POC before relying on a single address. This applies only if IP restrictions are in force on your side; if your SFTP server accepts connections from any address, no change is needed.Will Zeotap CDP pull the same file twice?
Will Zeotap CDP pull the same file twice?
That depends on Delta Query Selection. Set to
false, every run pulls all files in the configured folder. Set to true, a run pulls only the files created after the previous pull.