Next Topic

Previous Topic

Book Contents

getFile()

Upload the file at the specified path from the managed machine. Be sure to enter a full path filename that you want to upload. Example: news\info.txt. Folders are created when the getFile() command is run, if they don't already exist. 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.

Example

getFile("c:\temp\NetStopInfoStore.txt", "backuplogs\NetStopInfoStore.txt", "Overwrite existing file and sent alert if file changed", "All Operating Systems", "Halt on Fail")