Sync new BrickFTP files from URL to FTP/FTPS
Utilities
What it does
When a new file appears in BrickFTP, this automation downloads that file from a URL. It uploads the file to an FTP/FTPS server, and if the upload succeeds, the file is renamed on the server.
Who it's for
Operations teams who need to sync files from external URLs into FTP/FTPS storage without manual transfers.
How teams use this
Automate daily file syncs to FTP/FTPS
Files arrive in BrickFTP from an external source, download from the URL, and land on the FTP/FTPS server with a confirmation rename. The team no longer needs to download and re-upload manually.
Route files to different FTP/FTPS destinations
Extend this automation to check the file type or name, then upload to different FTP/FTPS servers based on that condition. Only files matching certain criteria go to each destination.
Sync to cloud storage instead of FTP/FTPS
Replace the FTP/FTPS upload step with a cloud storage service so files flow from BrickFTP through the URL into your cloud platform. The trigger and download steps remain unchanged.
How it works
- Monitor BrickFTP for new files. This automation starts when a new file lands in BrickFTP, triggering the download and upload workflow.
- Download file from URL. Retrieve the file from the specified URL using the File connector so it can be transferred to the FTP/FTPS server.
- Upload file to FTP/FTPS server. Send the downloaded file to the FTP/FTPS server. The next step checks whether the upload completed successfully by verifying the byte count.
- Rename file when upload succeeds. If the uploaded bytes do not equal zero, rename the file on the FTP/FTPS server to mark it as processed and ready for use.