Next Topic

Previous Topic

getRelativePathFile()

Uploads a file from a managed machine to an approved path on the Kaseya Server. The approved path is relative to the <KaseyaInstallationDirectory>\UserProfiles\<agent guid>\GetFiles directory. The file is stored on the Kaseya Server in a private directory for each managed machine. View or run the uploaded file using Agent Procedures > Get File.

The list of approved relative paths is specified using one or more XML files located at <KaseyaInstallationDirectory>\xml\Procedures\AgentProcPaths\<partitionId>\getRelativePathFile.

Filenames can be any name with an .xml extension so long as they are formatted correctly internally. Multiple statements specified using one or more XML files display as a single combined combo box list in the user interface. Each approved path statement in the XML file has a unique label, and only the labels are shown in the combo box. If no approved path statements are defined, then *No Approved Paths* displays in the combo box.

Partition-Specific Statements

Partition-specific folders can contain partition-specific approved path statements. For example: <KaseyaInstallationDirectory>\xml\Procedures\AgentProcPaths\1234567890\getRelativePathFile. Users can select and run all 0 folder approved path statements and all approved path statements located in the partition path that matches the partition they are using.

Example Format

<pathList>

<pathDef label="Documents Folder" path="..\Documents"/>

<pathDef label="Miscellaneous Folder" path="..\Miscellaneous"/>

</pathList>