SFTP overview
Overview
Available on Ramp Plus. See Ramp Plus overview for plan details.
Beta. This feature is currently in Beta.
SFTP (Secure File Transfer Protocol) moves CSV files between Ramp and your other systems:
- Exports send CSV files of your Ramp records to an SFTP folder on a schedule. Your ERP, data warehouse, or other system picks them up from there, so you don't have to download and reformat spreadsheets by hand.
- Imports bring CSV files from your system into Ramp. Your system uploads a file to an SFTP folder, and Ramp applies each row, such as adding people or updating purchase orders.
You manage SFTP from SFTP settings.
When to use SFTP
Use SFTP when your system doesn't have a direct Ramp integration, or needs data in a specific file layout. If your ERP has a direct integration, see Ramp accounting integrations directory first.
When to use SFTP exports
Use exports to send Ramp data to another system. For example:
- Sending journal entries to an ERP that imports CSV files
- Loading Ramp data into a data warehouse or reporting tool
When to use SFTP imports
Use imports to keep Ramp up to date from another system. For example:
- Adding, updating, or deactivating people from your HR system
- Creating or updating purchase orders and item receipts from your ERP
What you can do with SFTP
What you can do with SFTP exports
- Choose which records go in the file, such as card transactions, reimbursements, or bills
- Reformat values and pick, order, and rename columns to match your system
- Deliver files on a schedule, or run an export when you need it
- Get emails when files are delivered or runs fail, and see every run's history
See Set up SFTP exports and Monitor SFTP exports.
What you can do with SFTP imports
- Choose from 12 import types, such as people, purchase orders, and vendor updates
- Check a file for problems before you send it
- See every file's run and the rows that failed
See Set up SFTP imports for the import types and how to send files.
How your SFTP connection works
Ramp hosts the SFTP server, and your business has one SFTP connection for all its SFTP exports and imports. Your system signs in with a username and an SSH key you register with Ramp, and only from IP ranges you allow. Password sign-in isn't supported.
Ramp delivers export files to the from_ramp folder on the SFTP server, and your system uploads import files to the to_ramp folder.
To see your connection details, select Connection settings in SFTP settings. It shows the host, port, username, SSH keys, and allowed IP ranges. If your business doesn't have a connection yet, see Set up your SFTP connection.
Set up your SFTP connection
Your system needs at least one SSH key and at least one IP range to connect. Before you start, get these from whoever manages the system that will connect, such as your IT team or ERP provider:
- The system's SSH public key in OpenSSH format. RSA keys must be at least 2048 bits; Ed25519 and ECDSA keys are also supported.
- The public IPv4 addresses the system connects from
To set up the connection:
- Go to SFTP configurations.
- Under SSH Keys, paste the key into SSH public key and enter a Description. To add more keys, select Add another SSH key.
- Under IP Address Ranges (Subnets), enter a range in CIDR notation in IP address range (CIDR), such as
203.0.113.0/24, and enter a Description. For a single address, use/32, such as203.0.113.10/32. To add more ranges, select Add another IP address range. - Select Save.
After you save, the page shows the SFTP Host (sftp.ramp.com) and your Username. Enter these in your system's SFTP client with port 22 and the private key that matches the SSH key you added.
If you see "SSH2 format is not supported", convert the key to OpenSSH format, for example with ssh-keygen -i -f ssh2-key.pub, and paste the result.
- Change SSH keys or IP ranges: In SFTP configurations, add entries or select the delete icon next to one, then select Save.
- Delete the connection: Select Delete configuration. This removes all SSH keys and IP ranges, and your system can't connect until you set it up again.
Who can use SFTP
SFTP is available on Ramp Plus, with no limit on the number of exports. Owners, Admins, and IT Admins can manage the SFTP connection and exports. Only Owners and Admins can manage imports. If you can't see or change SFTP settings, ask an Owner or Admin to update your role. See User roles overview.
Frequently asked questions
Do I need my own SFTP server?
No. Ramp hosts the server, and your system connects to it with an SFTP client. See How your SFTP connection works.
Which file format does SFTP use?
CSV files encoded as UTF-8, with a header row, for both exports and imports.