File Sync Scripts
File synchronization scripts enable you to automate actions on the server (before file synchronization) or on the device (before or after file synchronization).
Server Actions
Specify a script to be run on the server before file synchronization starts.
Note: You can specify only command-line (non-GUI) scripts such as batch files (.bat) or command-line executable files (.exe). The script must have full read/write access for SOTI MobiControl.
Run Executable Command Path | Enter the full path to the script on the server. |
Start File Sync | Select the number of seconds after script execution starts before file synchronization starts. |
Device Actions
Specify a script to be run on the device either before or after file synchronization.
Before file synchronization execute script | Enter a script to be run on the device before file synchronization. To import a previously created script, click the Scripts button. |
After file synchronization has completed execute script | Enter a script to be run on the device after file synchronization. To import a previously created script, click the Scripts button. |
Always Execute | Execute the script on the device every time a scheduled file synchronization occurs, even if no files are updated. |
Only execute if files transmitted | Execute the script on the device only if files are updated by a scheduled file synchronization. |