Connect Database (other) and FTP (other) — trigger events in one app, run actions in the other.
Example: when Database's "Watch Rows" fires, WEXTL can "Delete File" in FTP. Database has 1 trigger (including Watch Rows); FTP has 5 actions (including Delete File, Download File, and List Files).
Common questions about connecting Database and FTP.