File Sync
File synchronization policies allow you to synchronize files and folders on your device with those on the server, while also enabling the synchronization of files or folders from the server to your device.
Add/Edit File Synchronization
Process Flow
Select [Policies] > File Synchronization to access the File Synchronization Policies page.
Click "Create New File Synchronization Policy" to enter the file synchronization settings interface.

| Field | Description |
|---|---|
| Name | Required field, Enter a name for the file synchronization policy. |
| Description | Provide a brief description of the file synchronization policy to facilitate identification and lookup. |
| File Sync Type | File Sync Type: Select the file synchronization direction using the following options:
|
| Device File / Folder Name | Enter the full file system path of the file or folder on the device that you wish to synchronize with the server. Select the Macro button to access formatting options—for instance, to point to the main shared or external storage directories. File paths are case-sensitive on Android, iOS, and Linux devices. |
| Server File / Folder Name | Enter the full file system path of the file or folder on the server that you wish to synchronize with your device. You may also choose to access the file manager to select the file or folder. |
| File Name Format | This field is visible only when "Upload from Device" is selected. Apply a format to the filename to enable synchronization. Select the Macro button to configure formatting options. Options include:
|
| Create Subfolders for Files | This field is visible only when "Upload from Device" is selected. When the toggle switch is enabled, you can select how subfolders are created on the device, including:
The option to "Create folders immediately after policy is saved" is disabled by default. When enabled, folders will be created according to the selected type once the file synchronization policy has been saved and assigned.。 |
| Use Subfolders for Files | This field is visible only when "Download from Server" is selected. When the toggle switch is enabled, you can select how subfolders are created on the server. Options include:
The option to "Create folders immediately after policy is saved" is disabled by default. When enabled, folders will be created according to the selected type once the file synchronization policy has been saved and assigned. |
| Delete Source Files After Sync | This field is visible only when "Upload from Device" is selected. When enabled, the source files on the device are sent to the server and then deleted from the device. Only the files are deleted; the folders are retained. |
| Transfer Files When | Criteria for selecting when to synchronize files:
|
| Sync Sub-Folders | When disabled, only specific files located within the specified device file or folder path are synchronized; subfolders residing in the same directory are excluded from synchronization. When enabled, all subfolders within the same directory are synchronized. |
| Sync Online Devices Now | The strategy is executed immediately after creation. |
| Network Allowances | Select the network over which file synchronization is performed. Options include:
|
- Click "Next" The Script tab opens; fill in the relevant script information.

Pre-sync Script Settings
| Field | Description |
|---|---|
| Enable Pre-Sync Script | When enabled, allows a script to be executed before file synchronization begins. |
| Script Type | You can choose from the following script source types:
|
| MANAGE SCRIPTS | Create, update, or delete saved scripts. Note: Changing a saved script will alter its behavior wherever it is used. If your script is a modification of an existing script, it is recommended that you copy the existing script into a new script before making changes.。 |
| Execute Saved Script | Select a saved script name from the drop-down menu to execute it. The script content is displayed as read-only in the script viewer and cannot be edited within the read-only editor. |
Post-sync Script Settings
| Field | Description |
|---|---|
| Enable Post-Sync Script | When enabled, the script will execute only after file synchronization is complete. |
| Script Type | You may select from the following script source types: ● Device Scripts — Provides a selection of saved scripts available for reuse. ● Custom — Opens the script editor to allow for the creation of custom scripts. |
| MANAGE SCRIPTS | Create, update, or delete saved scripts. Note: Modifying a saved script will alter its behavior wherever it is currently in use. If your script is intended as a modification of an existing script, it is recommended that you copy the existing script into a new one before making changes. |
| Execute Saved Script | Select a saved script name from the drop-down menu to execute it. The script content is displayed as read-only within the script viewer and cannot be edited in this read-only editor. |
| Execute Script Only if Files Transmitted | Enable this option when the script requires a file to be sent to the device in order to execute successfully. When disabled, the script will always execute. |
File Sync Schedule Type
| Field | Description |
|---|---|
| Schedule Type | The available trigger types for file synchronization include: ● Device Update — File synchronization is triggered only when the device is updated, rather than being executed according to a specific schedule. ● Custom — Set a recurring schedule to perform file synchronization. |
| Sync Files when Device Connects | Click the plus icon on the Frequency Mode page to add multiple file synchronization schedules. |
| Frequency Type | Select the frequency type for file synchronization: ● Once: Perform file synchronization only once. ● Weekly: Perform file synchronization once a week. ● Periodically: Perform file synchronization at custom-defined intervals. |
| Every | For weekly or periodic settings, this refers to the synchronization interval. |
| Start Date | The start date for executing file synchronization. |
- Click "Save and Assign" to select the device groups or devices to which the policy will be assigned. Click "Save" to simply save the current file synchronization policy as a draft.
Delete File Synchronization
Process Flow
In the strategy list, click the delete icon and select "Delete." A dialog box will appear requesting a second confirmation of the deletion.
When a file synchronization strategy is deleted, the files that have already been synchronized remain unaffected; only the specific data associated with that particular synchronization strategy is removed.
File Synchronization Duplication
Replicating a file synchronization policy involves creating a copy of a selected policy; this requires specifying a name for the new policy and allows for the customization of specific attributes.
Process Flow
Enter the main menu and select [Policies] > [File Synchronization].
Select a file synchronization policy, right-click an existing policy, and select [Copy].

| Field | Description |
|---|---|
| Policy Name | Required field; enter the new policy name. |
| Description | Provide a brief description of this file synchronization policy to facilitate identification and lookup. |
| Attributes | Select the attributes to be copied: ● Pre-synchronization Script Type ● Post-synchronization Script Type |
Assign File Synchronization
You can assign file synchronization policies within Shadowalk to specific devices or device groups. This allows you to create new policy assignments or edit existing file synchronization policies.
Process Flow
Enter the main menu and select [Policies] > [File Synchronization].
Create a new file synchronization policy, or right-click an existing policy and select [Assign].
Select a device group from the left-hand panel, and then select the registered devices within that group. You can use the search icon on the left to locate device groups (fuzzy search supported), or use the search icon on the right to search for specific devices (fuzzy search supported); then, click [Assign].
Disable File Synchronization
Process Flow
In the policy list, click the Disable icon and select "Disable." A dialog box will appear requesting a secondary confirmation to proceed with disabling.
Once a policy is disabled, any new devices registering to a device group to which that policy has been assigned will *not* inherit the disabled file synchronization policy; however, devices that were already assigned the policy prior to its disabling remain unaffected. If you wish to re-enable the policy, simply click "Assign" again, and it will be automatically reactivated.。
File Manager
Regarding file synchronization policies, Shadowalk utilizes a "Master Folder" that contains the files and folders designated for transfer. Devices either download files/folders *from* this Master Folder or upload them *to* it. To access and customize this Master Folder, select the "File Manager" button.
Process Flow
- From the Policy List, click "File Manager" to open the File Manager interface in a pop-up window.

- The File Manager allows you to perform the following actions:
● Import (upload) files from your local computer.
● Create a new folder.
● Search for, rename, download, or delete existing files/folders.
● Download an existing folder (including its contents) as a single file.
