writeFileFromAgent()

Transfers a file from another agent machine to the agent machine running this step. First enter the full path and file name of the file you wish to send from the source machine. Then enter the full path and the file name to be created on the target machine. Similar to—but in the opposite direction from—the transferFile() command.

Operating systems supported: Windows

Example

writeFileFromAgent("ag-gold-732.root.unnamed", "c:\temp\testfile.txt", "c:\temp\testfile.txt", "Windows 7", "Halt on Fail")

                                            

NOTE   This command will transfer the file one time only for each agent running the procedures containing the step. The file will not be transferred again on subsequent executions, even if the source or destination files have changed.