Easily push files to SFTP using our Sync feature for Hosted~FTP~ Enterprise T2 and above accounts. By following rules you setup in the Sync process, you can have specified user directories sync towards your SFTP server to: upload, move, delete, or upload and move files automatically. This article will cover how to setup a Sync to SFTP process.
How to setup Sync to SFTP #
1. First, please make sure that the following IP addresses are whitelisted to allow Hosted~FTP~ to connect to your SFTP server:
- 75.101.155.12
- 204.236.238.164
- 23.21.114.223
2. Logging in as the administrator, go to your Sync tab. Click on the Add button to setup and create a new Sync process.

3. Next, you will need to input information for the sync rule to follow. See table below for details on setting up each field

| Name | Name of the Sync process | Examples |
| Actions | Select what you want the Sync process to do: Upload, Move, Delete, Upload + Move. | For this use case, please select Upload |
| Source | The source of where the data is located to sync. | For this use case, please select Hosted~FTP~ |
| User+ | Use a * to include all users, or place specific usernames separated by a comma. | (i.e. username1, username2) |
| User- | Place usernames in this field to exclude them from the sync process | |
| Path+ | Include specific folder paths and even file name extensions using regular expressions for the sync rule to follow.
Use a * to include all paths, or place specific paths separated by a comma (i.e. //Folder1/SubFolder1/.*, //Folder1/SubFolder2/.*) Note: /.* is required to pull all data from the target path |
For more detailed examples on using regular expressions, please see this link |
| Path- | Place paths in this field to exclude them from the sync process. Include specific folder paths and even file name extensions using regular expressions for the sync rule to exclude. | For more detailed examples on using regular expressions, please see this link |
| Target | The source of where you will sync the data into. | For this use case, please select SFTP |
| Username | Username credential of the SFTP server | |
| Password Type | Select the authentication type the username connects by: Password or Private Key | |
| Password/Private Key | Input field for the password or private key | |
| Hostname | The hostname of the SFTP server | You can also change the default SFTP port (22) to your desired port by including it at the end of the hostname i.e. hostname:1234 |
| Folder | The designated folder to apply the sync process. | Note: The folder does not need a / at the beginning of its syntax |
| Javascript | Additional Javascript commands that can be included. for advanced rules | (Please reach out to our support team for assistance) |
4. Manage the Options if required:

| Options: | To have the sync process run fully, all options must be enabled. |
| Active | Turns the sync process on or off after being created |
| Accept | Accepts additions to the process |
| Process | Disabling this option queues up the sync but does not process. For the sync to process, this must be enabled |
5. Click Save to create the sync process. If all options are enabled (by default), the sync will run in the background every time uploaded data meets the rules.