Overview
When defining the location of a folder on an endpoint computer, you can specify an absolute path or use a path macro which looks similar for the admin of the Connect Management Console, but takes different actual values on the endpoint computer.
Advanced configuration
Keep in mind that following default path macros can be overwritten in the configuration fileWindows, Resilio Agent Service running as Local Service
Macro |
Windows 7 + (as service) |
%HOME% |
C:\Windows\ServiceProfiles\LocalService\ |
%DOWNLOADS% |
C:\Users\Public\Documents\Resilio Connect Agent |
%USERPROFILE% |
C:\Windows\ServiceProfiles\LocalService |
%FOLDERS_STORAGE% |
* |
Windows, Resilio Agent Service running as Local System
Macro |
Windows 7+ (as service) |
%HOME% |
C:\Windows\system32\config\systemprofile\ |
%DOWNLOADS% |
C:\Users\Public\Documents\Resilio Connect Agent |
%USERPROFILE% |
C:\Users\<active_user> (currently active user session when the Agent starts up) |
%FOLDERS_STORAGE% |
* |
Windows, Resilio Agent Service running as user
Macro |
Windows Vista 7+ |
%HOME% |
C:\Users\<username>\ |
%DOWNLOADS% |
C:\Users\Public\Documents\Resilio Connect Agent |
%USERPROFILE% |
C:\Users\<username> |
%FOLDERS_STORAGE% |
* |
POSIX, NAS
Macro |
%HOME% |
%DOWNLOADS% |
%USERPROFILE% |
%FOLDERS_ STORAGE% |
OS X |
/Users/<username> |
/Users/<username>/Downloads |
/Users/<current_user> |
* |
Linux/packages |
home/<username> |
/home/<username>/Resilio Connect Agent |
/home/<current_user> |
* |
Synology |
/volume1/Resilio Agent |
/volume1/Resilio Agent/Downloads |
/volume1/Resilio Agent/Downloads |
* |
Western Digital |
/shares/Public/Resilio Agent |
/shares/Public/Resilio Agent/Downloads |
/shares/Public/Resilio Agent |
* |
Android
%HOME% |
/storage/sdcard0 |
%DOWNLOADS% |
Configured in Agent for Android settings, usually /storage/sdcard0/Download |
%USERPROFILE% |
/data/data/com.resilio.connect.agent/files |
/<SD_CARD>/Android/data/com.resilio.connect.agent/files |
|
%FOLDERS_STORAGE% |
* |
* %FOLDERS_STORAGE% is a special location. When Agents gets %FOLDERS_STORAGE%, it takes the “folders_storage_path” value from sync.conf which was used to connect the client to the Resilio Management Console. Starting with Resilio Connect v2.12, this macro is also resolved in "Default folder location" that user chooses in Agent UI settings.
This macro won't work for agents that connect to Console without config (using IP only) or without Agent UI (for version prior to 2.12) and will give an error.