Skip to main content

Task VMWare - [Guest] Copy File​

The VMWare - [Guest] Copy File Task copies files between the guest operating system and the VisualCron Server computer.

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

With Remote VMWare server, this Task needs a VMWare Connection with the Authentication type "Vix"; "vSphere" and "vSphere 7" do not support it (see Connection support). See also Connection - VMWare.

Connection sub tab​

Connection sub tab of the VMWare Guest Copy file(s) Task, with the Remote VMWare server and Local VMWare workstation options, Guest OS Credentials and the timeout

The Connection sub tab is the same for every VMWare Task; see Start VM for each field.

Guest OS Credentials is required: select the Credential of a user account inside the virtual machine. Before it signs in, the Task waits up to 60 seconds for VMware Tools to run in the guest, whatever the timeout says. It signs in with the VMware option that requires an interactive session, so that user must be signed in to the guest desktop.

VM Task settings sub tab​

VM Task settings sub tab of the VMWare Guest Copy file(s) Task, with the Source folder, Source file(mask) and Destination folder fields and the From guest to host check box

  • Source folder: the folder to copy from: in the guest when From guest to host is checked, otherwise on the VisualCron Server computer. The Folder icon is turned off. Variables are replaced in this field
  • Source file(mask): a file name or wildcard mask, "*" by default. The File icon opens a file browser on the computer that runs the Client and enters only the file name. Variables are replaced in this field
  • From guest to host: when checked (the default), files are copied from the guest to the VisualCron Server computer. When not checked, files are copied from the VisualCron Server computer to the guest
  • Destination folder: the folder to copy to. The Folder icon is turned off. Variables are replaced in this field
warning

End Destination folder with a backslash, for example C:\Data\Out\. The Task builds each target path from the part of Destination folder before its last backslash, so without the trailing backslash the files are copied to the parent folder (for C:\Data\Out, to C:\Data).

Output and errors​

When VMware reports an error, the Task fails.