Next Topic

Previous Topic

Book Contents

transferFile()

Transfers a file from the agent machine running this step to another agent machine. Enter the fully qualified machine ID of the target machine, for example, mymachine.root.kaseya. Then enter the full path and file name of the source file you wish to send from the currently selected agent. Then enter the full path and file name of the target file on the target machine. Similar to—but in the opposite direction from—the writeFileFromAgent() command.

Operating systems supported: Windows

Example

transferFile("ag-gold-w732.root.unnamed", "c:\temp\testfile.txt", "c:\temp\testfile.txt", "All Operating Systems", "Halt on Fail")