Theme
Scripting and automation
Syncplify Server! (Professional and Ultimate editions) runs SyncJS scripts on the events of a virtual site, and every management task is also available through its REST APIs. The pages in this group are worked examples:
- Emailing a list of the files a session uploaded.
- Moving files in and out of an encrypted VFS with ExportFile and ImportFile.
- Blocking executable uploads by looking at the bytes, not the extension.
- Downloading a shared file from a script in PowerShell or bash.
- Getting started with the REST API: login, a GET, a PATCH and logout.
The reference for the language and the events is the manual's scripting section; the API definitions are at openapi.syncplify.com/v8/webrest and openapi.syncplify.com/v8/webclient.