Skip to main content

Secure file transfer

Secure File Transfer Protocol (FTP) connections allow you to automate your referral deliveries and require little effort to set up. All you need are your SFTP credentials, and you’re ready to go!

Once you set up an SFTP connection, you can routinely receive an email with a .csv file containing all of your new referrals and associated metadata.

You can either use your own SFTP connection, or Rokt's connection.

Rokt's FTP connection#

Before you begin#

Make sure you have access to the Rokt SFTP. If you don't, reach out to your account manager to have access provisioned.

You should also have the following information ready before setting up your connection to the Rokt SFTP:

  1. Delivery frequency—how often and at what times referrals should be uploaded to the SFTP server.
  2. Required parameters—the most common being email, first name, last name, source, and state. Learn more about the metadata Rokt can provide.

Establishing a connection from a host computer (e.g., your laptop) to a secure FTP server requires third-party client software. This tutorial suggests the popular and free client FileZilla which is available for Windows, Mac, and Linux operating systems.

  1. In your browser, navigate to and click Download FileZilla Client.
  2. Install FileZilla on your computer. If you already have FileZilla installed, ensure you are running the latest version.
  3. You should have received an email from Rokt with the subject "You've been granted access to Rokt's SFTP server."
  4. Download the attached file and unzip the encrypted file using the password provided in a second email "Email for password for file with instructions."
  5. The encrypted file you have just unzipped contains a .pem file which is your key file to access Rokt's SFTP folder.

The following steps are the same for Windows, Mac, and Linux operating systems and are based on the latest version of FileZilla.

  1. Open FileZilla and navigate to File > Site Manager

Rokt SFTP Setup

  1. On the left, click New Site and fill in the following:
  • Protocol: SFTP – SSH File Transfer Protocol

  • Host:

  • Port: 22

  • Key file: Browse to your local key file (.pem) and select it from your local drive (see image below).

    Rokt SFTP Setup

  1. Click Connect. You should be connected and able see your accessible folders to upload files.

File path and requirements#

Referral files are placed in the following file path:

File pathPurpose
/downloadsDownload the referral data provided by Rokt

Referral files are automatically deleted from this folder after 14 days.

Using your own SFTP connection#

Establishing the connection#

  1. Log in to One Platform, then click on your account on the Home page.

  2. Go to the Integrations > Connections page from the left navigation menu.

  3. Click Add connection.

  4. Under Referrals, select FTP.

  5. Select the Campaign and Template for this connection, then give your connection a name.

    Referral Export Via Client SFTP

  6. Enter Directory and file name.

    Referral Export Via Client SFTP

  7. Enter your FTP server host details and port.

    Referral Export Via Client SFTP

  8. Select your desired FTP method.

    Referral Export Via Client SFTP

  9. Enter your Username and Password, or enter your username and upload your key file if using SFTP.

    Referral Export Via Client SFTP

  10. Select your schedule and click Save.

Referral Export Via Client SFTP 11. Your connection has been created.

Disabling your FTP connection#

  1. Go to the Connections tab and select Scheduled from the leftmost drop-down menu.

    Referral Export Via Client SFTP

  2. Under Actions, click the pause icon.

    Referral Export Via Client SFTP

  3. Your connection is disabled.

    Referral Export Via Client SFTP

  4. You can reverse these steps to enable your connection.

Was this article helpful?