Scripting
Scripting examples and techniques in SyncJS, the JavaScript-based scripting language behind Syncplify AFT!
Monitoring a local folder and uploading files to your SFTP server when they change
This article refers to AFT! v4.0.0+, if you're still on an older AFT! version, please, refer to t...
Monitoring a remote VFS and downloading files to your local disk when they change
This article shows how to monitor a remote directory and automatically download each new file the...
Relaying files from S3 to an SFTP server without local staging
A common integration pattern is moving files from a cloud object storage bucket (S3 or any S3-com...
Transforming a CSV file in transit between two systems
Sometimes the gap between two systems that need to exchange data is entirely a formatting problem...
Integrating AFT! with an external workflow API
Many serious file transfer operations are parts of larger business workflows. A data pipeline mig...
Getting alerted when a remote file has not been updated recently enough
Upstream systems fail silently all the time. An ETL job crashes, a partner's export process hangs...
Automatically encrypting files before uploading them to a remote server
When you deliver files to a third-party SFTP server you cannot always trust that the storage on t...
Automatically removing old files from a remote archive
Without a cleanup policy, a remote archive grows indefinitely. Storage costs accumulate quietly, ...
A simple "health monitor" script
One of the new functions available in SyncJS as of AFT! v4.0.0 (and higher) is TcpConnect, which ...
Sending a Slack summary after a batch file transfer
Per-file notifications are noisy. A job that uploads fifty files and sends fifty Slack messages t...
[OLD] Monitoring a local folder and uploading files to your SFTP server when they change
This article refers to all AFT! versions prior to v4.0.0. If you're looking to achieve the same t...