Upload using SFTP

Access your SFTP folder that is hosted by Lexer

Lexer manages an SFTP server for the upload and download of secure client and partner data. All files containing sensitive information must be transferred via this method. In this article we'll discuss how Lexer uses SFTP, how to manage your access credentials, and how to access your Lexer SFTP on either Windows or Mac OS.

Step 1. Receive your Lexer SFTP details

Our team will provide you with details about your Lexer SFTP directory - usually via email. This will contain information such as your Username, Host, URL, and relevant paths for reading and writing files. You'll need this information to complete step 5.

Step 2. Generate your SSH Keys

Generating your SSH key files using Terminal (Mac)

Let's use Terminal to generate a matching key pair for secure authentication.

  1. Open the Terminal program.
  2. Type ssh-keygen -t rsa and hit return to launch the public/private key generation functionality.
  3. Hit return to save the public and private keys to the default file location.
  4. Enter a passphrase to secure your SSH key (optional but recommended), and hit return.
  5. Enter your passphrase again (if used), and hit return once more to generate. This has now created two files, named by default, and stored in Users/yourusername/.ssh/.
  6. Now switch to a Finder window to navigate to the specified directory. To show your hidden files press shift + command + .

- A public key - id_rsa.pub - you will be uploading this to your Lexer Hub in step 3.

- A private key - id_rsa - you will be using this within your SFTP Application in step 5.

Generating your SSH key files using WinSCP (Windows)

Let's use WinSCP to generate a matching key pair for secure authentication.

  1. Download WinSCP and follow the prompts to install it.
  2. Open WinSCP and select Tools on the bottom left hand side and select PuTTYgen.
  3. Leave all options as standard and select Generate. You will be prompted to move your mouse around the grey box to generate a randomized encryption key.
  4. Click Save Public Key and name it lexer-public. You will need this in step 3.
    Click Save Private Key and name it lexer-private. You will need this in step 5.

You can also generate your SSH keys using other tools such as OpenSSH Client

Step 3. Whitelist your SSH public key in Lexer

Lexer secures client SFTP servers using a combination of public/private key cryptography as well as IP address whitelisting. In order to access your SFTP you will need to whitelist your IP address and SSH key.

Your public key should be in the following format:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDak1o/aM7thKXrnjTmM6+NXfMzqsRMYXVbYqr2vnGTgM6dpsno8Y8/CAhgg7BTZkXVkyi0U9egyvZPEd54rdBimrisPYU9o7eeFUt9aCsY3A5UVmKBVBJII/heJCgteOiQgoGqElzfCGAj1s+O93iMI8XjGtWI6LH788twZaOALeT3c0LB5bPWE8YvhAmMS28mcrKDxcNMBkRjAYAZv3sfKiZlQlsp7GdY7rHnXSRjhobII9qxP67Ytww0w4JULqiQ9j0TlGbZKkw8VT9EgBYAfsmAWdDWEBT7MxS4uT1wEsDziJ3SBrGAuknnYHm6lANchIIlolecthOoxqZAyd0lp7vx8htEjBrpENYBwL9a+kgTq8MdeVm0mNTHdsTcsUscsIMUHNXEZ14r+ZnMFNqt0TK6qPGs6VZ1fezLnsPf5oe/cEfOkDaS3u37wWvATV9N1tMUy9KFPq81RfDcMRvuUjyB98Q8dlEXZdETSItSI0Yo0wBkmCi3sLClVgzwt3E=

Navigate to Lexer > Manage > Integrations > SFTP and add this public key by clicking 'Add SSH Public Key'.

2783

It may take up to 30 minutes for SSH key whitelisting changes to become active.

If you're getting an "Invalid Key Format" error when entering your public key into the SFTP tile in Lexer, please run the following command in your terminal to convert your key into the required format:

ssh-keygen -i -f [your_key_filename.pub]

Step 4. Whitelist your IP address in Lexer

Any system or device accessing your Lexer SFTP will need to have its IP address whitelisted. If you are configuring a system to access your Lexer SFTP, then you will need to ensure it is configured using a static IP address. If you are accessing your Lexer SFTP via your local device (e.g. your work computer), then you will need to whitelist your home or office IP address.

To find your current IP address, head to whatismyipaddress.com on the network you will access the SFTP from (e.g. your office) and copy the results shown on the website. Navigate to Lexer > Manage > Integrations > SFTP and add this IP address by clicking 'Add IP Address'.

It may take up to 30 minutes for IP address whitelisting changes to become active.

Step 5. Access your Lexer SFTP

Accessing SFTP using WinSCP (Windows)

  1. Download WinSCP and follow the prompts to install it.
  2. Open WinSCP and select 'New Site' on the top left hand side.
  3. Fill in the host, port, and username as per the documentation. Do not add a password as you will be using your keys to authenticate. To do this click advanced, then advanced again.
  4. Click Advanced, then Advanced again.
  5. Click Authentication under the SSH tree and select your private key file. Hit Ok.
  6. Select Save and choose the name "Lexer SFTP". You're now able to send us your customer data files as well as receive files exported from the Hub via Activate.

Accessing SFTP using FileZilla (Windows / Mac)

  1. Download FileZilla and follow the prompts to install it.
  2. Once downloaded, go to File > Site Manager.
  3. Fill in the following fields as provided in your SFTP Access documentation.
  4. Host: as detailed in your SFTP access documentation.
  5. Port: as detailed in your SFTP access documentation.
  6. Protocol: SFTP - SSH File Transfer Protocol.
  7. Logon Type: Key file.
  8. User: as detailed in your SFTP access documentation.
  9. Key file: select your private ssh key as generated in previous steps.
  10. Click Connect. You're now able to send us your customer data files as well as receive files exported from the Hub via Activate.

Troubleshooting your Lexer SFTP

Having trouble connecting to your Lexer SFTP? We've outlined a number of common scenarios and the likely diagnosis in the table below. Get in touch with Lexer Support if you need assistance.

Outcome (using sftp -i path_to_private_key myuser@au.transfer.lexer.io) Host is correct? Port is correct? Private key is valid format? IP is whitelisted? User is correct? Public key is whitelisted?
ssh: Could not resolve hostname azzz.lexer.transfer.io: nodename nor servname provided, or not known Connection closed No - - - - -
ssh: connect to host au.transfer.io port 30: Operation timed out Connection closed Yes No - - - -
Load key "path_to_private_key": invalid format myuser@au.transfer.lexer.io: Permission denied (publickey) Yes Yes No - - -
ssh: connect to host au.transfer.io port 22: Operation timed out Connection closed Yes Yes Yes No - -
myuser@au.transfer.lexer.io: Permission denied (publickey) Yes Yes Yes Yes No -
myuser@au.transfer.lexer.io: Permission denied (publickey) Yes Yes Yes Yes - No
Connection successful Yes Yes Yes Yes Yes -

That's it for SFTP

In this article we outlined the purpose for SFTP, how to set it up, and ran through a few common scenarios that you may need help troubleshooting. Please reach out to your Success Manager or Lexer Support if you have any questions.

Updated:
April 26, 2025
Did this page help you?
Thank you! Your feedback has been received!
Oops! Something went wrong while submitting the form, for assistance please contact support@lexer.io
Welcome to Lexer!
Fundamentals
Getting started
Javascript Tag basics
Data Platform
Javascript Tag
Data in the CDXP
Fundamentals
Getting started
Our glossary
Fundamentals
Getting started
Integrations overview
Fundamentals
Integrations
Onboarding data with Lexer
Data Platform
Data Onboarding
Data onboarding process
Data Platform
Data Onboarding
Importing CSV data
Data Platform
Data Onboarding
Importing JSON data
Data Platform
Data Onboarding
Secure file upload
Data Platform
Data Onboarding
Upload using SFTP
Data Platform
Data Onboarding
Upload using S3
Data Platform
Data Onboarding
Lexer's attributes
Data Platform
Data Types
Predictive attributes
Data Platform
Data Types
Lexer API overview
Data Platform
Developer APIs
Understanding APIs
Data Platform
Developer APIs
API authentication
Data Platform
Developer APIs
Activity overview
Insights
Activity
Team report
Insights
Activity
Cases report
Insights
Activity
NPS report
Insights
Activity
Listen overview
Insights
Listen
Searching in Listen
Insights
Listen
Tier filters
Insights
Listen
Saved dives
Insights
Listen
Boolean search
Insights
Listen
Listen CSV exports
Insights
Listen
Visualize overview
Insights
Visualize
Curate image feed
Insights
Visualize
Identity Resolution
Fundamentals
Getting started
My account
Fundamentals
Setup
Manage team
Fundamentals
Setup
Group permissions
Fundamentals
Setup
Classifications
Fundamentals
Setup
Out of the box segments
Fundamentals
Setup
Lexi your AI companion
Fundamentals
Getting started
Browser guide
Fundamentals
Security
Corporate networks
Fundamentals
Security
Multi-factor authentication
Fundamentals
Security
Single sign-on
Fundamentals
Security
Lexer's ultimate troubleshooting guide
Fundamentals
Troubleshooting
Troubleshooting tech issues
Fundamentals
Troubleshooting
Troubleshooting integrations
Fundamentals
Troubleshooting
Troubleshooting Activate
Fundamentals
Troubleshooting
Troubleshooting Respond
Fundamentals
Troubleshooting
Help! My data is missing from the Hub
Fundamentals
Troubleshooting
Lexer data specification
Data Platform
Data Specification
Customer data specification
Data Platform
Data Specification
Commerce data specification
Data Platform
Data Specification
Marketing data specification
Data Platform
Data Specification
Compliance data specification
Data Platform
Data Specification
Data formatting and validation
Data Platform
Data Specification
API rate limits
Data Platform
Developer APIs
Product imagery
Data Platform
Data Specification
Currency conversion
Data Platform
Data Specification
Bulk write API
Data Platform
Developer APIs
Dataset management
Data Platform
Data Management
Getting started with Logs
Data Platform
Data Management
Chatbot API
Data Platform
Developer APIs
Activity API
Data Platform
Developer APIs
Read API
Data Platform
Developer APIs
Javascript Tag technical guide
Data Platform
Javascript Tag
Javascript Tag use cases
Data Platform
Javascript Tag
Javascript Tag: Shopify Custom Pixel
Data Platform
Javascript Tag
CRM data
Data Platform
Data Types
Transaction data
Data Platform
Data Types
Email engagement data
Data Platform
Data Types
Experian data enrichment
Data Platform
Data Types
Customer Service data
Data Platform
Data Specification
GDPR and CCPA requests
Fundamentals
Compliance
File upload API
Data Platform
Developer APIs
Segment overview
Insights
Segment
Creating segments
Insights
Segment
Smart Search
Insights
Segment
Profile tab
Insights
Segment
Event Explorer
Insights
Segment
Attribute value types
Data Platform
Data Types
Compare segments
Insights
Compare
Compare attributes
Insights
Compare
Activate overview
Engagement
Activate
Ongoing activations
Engagement
Activate
Audience splits
Engagement
Activate
A/B splits
Engagement
Activate
Control group splits
Engagement
Activate
Guide to using Respond
Engagement
Respond
Inbox filtering
Engagement
Respond
Ignored Senders
Engagement
Respond
Forms for service
Engagement
Respond
Workflow states
Engagement
Respond
Bulk changes
Engagement
Respond
Scheduled replies
Engagement
Respond
Message templates
Engagement
Respond
Finding conversations
Engagement
Respond
Customer profiles
Engagement
Respond
Grouped messages
Engagement
Respond
Automation rules
Engagement
Respond
Redact messages
Engagement
Respond
Routing customer replies
Engagement
Respond
Contact Reporting
Engagement
Contact
Contact Queue Filters
Engagement
Contact
Contact WhatsApp Queues
Engagement
Contact
Guide to using Schedule
Engagement
Schedule
Installing Serve
Engagement
Serve
Serve user management
Engagement
Serve
Serve Forms
Engagement
Serve
Configuring Serve
Engagement
Serve
Serve Reports
Engagement
Serve
Serve Currency
Engagement
Serve
Serve POS QR Code
Engagement
Serve
Customer segment CSV export
Engagement
Activate
Track overview
Insights
Track
Track Tables
Insights
Track
Report overview
Measure
Listen
Lexer Product Recommender → Klaviyo Integration
Grow
Lexer Product Recommender → Klaviyo Integration
Where do your best customers live? Use geographic insights to maximize media spend and conversion
Grow
Where do your best customers live? Use geographic insights to maximize media spend and conversion
Suppression audiences: How to use them and maximize your media effectiveness
Enrich
Suppression audiences: How to use them and maximize your media effectiveness
Measure campaign effectiveness: Track your KPIs and report on campaign performance
Enrich
Measure campaign effectiveness: Track your KPIs and report on campaign performance
Converting prospects: Acquire customers from your current, engaged prospect base (and save your ad spend!)
Acquire
Converting prospects: Acquire customers from your current, engaged prospect base (and save your ad spend!)
Understanding customer intent: Effective message personalization for buyers who shop outside their gender
Grow
Understanding customer intent: Effective message personalization for buyers who shop outside their gender
Deepen customer understanding: Use third-party data to identify insights for personalized messaging and increased engagement
Grow
Deepen customer understanding: Use third-party data to identify insights for personalized messaging and increased engagement
Basket analysis: Increasing customer lifetime value through targeted product bundling
Grow
Basket analysis: Increasing customer lifetime value through targeted product bundling
Persona building: Personalize your messaging for maximum return on your campaign investments
Grow
Persona building: Personalize your messaging for maximum return on your campaign investments
Driving customer loyalty: Identify, keep, and grow your most loyal customers
Retain
Driving customer loyalty: Identify, keep, and grow your most loyal customers
Increasing customer lifetime value: Upselling strategies
Grow
Increasing customer lifetime value: Upselling strategies
Reactivating lapsed customers: Retention and growth
Retain
Reactivating lapsed customers: Retention and growth
Welcome offer strategies: Using the Hub for analysis
Acquire
Welcome offer strategies: Using the Hub for analysis
Creating customer forms: Best practices
Enrich
Creating customer forms: Best practices
Connecting your MarTech stack with Lexer!
Enrich
Connecting your MarTech stack with Lexer!
Identifying win-back customers using the Second Last Order: Date attribute
Retain
Identifying win-back customers using the Second Last Order: Date attribute
Understanding customers' purchasing habits: Order Sequence filter
Grow
Understanding customers' purchasing habits: Order Sequence filter
Maximizing customer communications in Respond
Retain
Maximizing customer communications in Respond
Using Product Recommendation in the Hub to encourage repeat purchases
Grow
Using Product Recommendation in the Hub to encourage repeat purchases
Encouraging customer loyalty using birthday campaigns
Retain
Encouraging customer loyalty using birthday campaigns
Increasing customer lifetime value: Converting your one-time buyers into two-time buyers
Grow
Increasing customer lifetime value: Converting your one-time buyers into two-time buyers
Collecting zero-party data using Lexer Forms
Enrich
Collecting zero-party data using Lexer Forms
Measuring your data over time with Track
Enrich
Measuring your data over time with Track
UTM Creation Guidelines
UTM Creation Guidelines
UTM Creation Guidelines
Brand Assets
Brand Assets
Brand Assets
GTM guide to creating marketing materials with Lexer
GTM guide to creating marketing materials with Lexer
GTM guide to creating marketing materials with Lexer
How to use the Lexer Form Builder
How to use the Lexer Form Builder
How to use the Lexer Form Builder
Explore our standard integrations
Explore our standard integrations
Explore our standard integrations
Operating a CDP Practice LP
Operating a CDP Practice LP
Operating a CDP Practice LP
LP Sales Enablement
LP Sales Enablement
LP Sales Enablement
Video Training Courses LP
Video Training Courses LP
Video Training Courses LP
Purpose and Mission
Purpose and Mission
Purpose and Mission
Brand & Marketing LP
Brand & Marketing LP
Brand & Marketing LP
Stage 3 - QBRs and Customer insights
Stage 3 - QBRs and Customer insights
Stage 3 - QBRs and Customer insights
Client Onboarding Journey
Client Onboarding Journey
Client Onboarding Journey
Start your CDP Practice
Start your CDP Practice
Start your CDP Practice
Lexer Messaging
Lexer Messaging
Lexer Messaging
Pain point conversations
Pain point conversations
Pain point conversations
Lexer Ideal Customer Profile & Positioning
Lexer Ideal Customer Profile & Positioning
Lexer Ideal Customer Profile & Positioning
Referral Partner Program Overview
Referral Partner Program Overview
Referral Partner Program Overview
Demo Hub Guide
Demo Hub Guide
Demo Hub Guide