When transferring files during an integration, you can apply settings to archive a copy of each file, in either of the following flow steps:
- Transferring files out of FTP if you are
- retrieving a file for later transfer to a destination application, or
- reading records from structured data such as JSON or CSV
- Transferring files to FTP when you are writing a set of processed records to a file on the server
Back up files transferred from a source application
- In an FTP transfer step, expand the Advanced settings.
- Enter a Backup bucket name or Backup files path value relative to the file system’s root directory. For example, if you want integrator.io to store a copy of the transferred file at
ftps://ftp.my-site.com/integrations/backup
, enter/integrations/backup
. This path must already exist on the server. - Save your export, run the flow, and verify the existence of the archived files.
The backup is independent of the Leave file on server setting. You may remove the original copy and retain the backup, or leave the transferred on the server in a different path from your backup.
Sample FTP transfer from a source app
Back up files transferred into a destination application
- In the General section of an FTP transfer step, set the Generate files from records field to Yes.
- Expand the Advanced settings.
- Enter a Backup bucket name or Backup files path value relative to the file system’s root directory. For example, if you want integrator.io to store a copy of the imported file at
ftps://ftp.my-site.com/integrations/backup
, enter/integrations/backup
. This path must already exist on the server. - Save your import, run the flow, and verify the existence of the archived files.
The transferred file backup will have the same File name that you specified for the imported file. To ensure that the file name is unique and doesn’t unintentionally overwrite an existing file, add an ID or timestamp to the file name in a handlebars function.
Tip: It may seem unnecessary to back up files transferred into a destination application. Consider generating a backup in cases where you want the data that you’ve carefully manipulated in your flow to be available to another app, without affecting the primary transferred/uploaded file.
Watch a demonstration
Comments
Please sign in to leave a comment.