Sync files from SFTP server to Dropbox

File TransferDocument/FileMarketing

What it does

When a new or updated file appears in a directory on an SFTP server, this automation downloads it and uploads the file to Dropbox. The file is then removed from the SFTP server so nothing is processed twice.

Who it's for

Operations teams who need to move files from an SFTP server to Dropbox without manual transfers.

Apps used

How teams use this

Archive files to cloud storage

Move files from an SFTP server to Dropbox automatically each time they are added or changed. The team keeps the same workflow and gains a cloud backup without extra steps.

Route files by type to folders

Extend this automation to check the file type and upload to different Dropbox folders based on whether it is a CSV, PDF, or other format. Only files matching certain types are moved.

Sync to a shared team folder

Point the Dropbox upload to a shared team folder instead of a personal one so all members can access the files. The SFTP monitoring and cleanup stay the same.

Notify team when files sync

Add a notification step to alert the team in Slack or email when files are successfully moved to Dropbox. The sync process stays the same and only includes a message at the end.

How it works

  1. Monitor directory for new files. Check the /home/workato directory on the SFTP server for any new or updated files that need to be moved.
  2. Download file from SFTP server. Retrieve the file contents from the SFTP server so the data can be sent to Dropbox for storage and backup.
  3. Upload file to Dropbox. Send the file to Dropbox using the contents downloaded from the SFTP server so it is available in cloud storage.
  4. Remove file from SFTP server. Delete the file from the SFTP server after it reaches Dropbox so it is not uploaded again in future runs.