Plugins > vCenter Server 5.5.3 > VcGuestFileManager > createTemporaryFileInGuest

Method createTemporaryFileInGuest(VcVirtualMachine vm, VcGuestAuthentication auth, String prefix, String suffix, String directoryPath)

Creates a temporary file.

Creates a new unique temporary file for the user to use as needed. The user is responsible for removing it when it is no longer needed.




Name Type Description
vm VcVirtualMachine Virtual Machine to perform the operation on.
auth VcGuestAuthentication The guest authentication data. See <a href="VcGuestAuthentication.html">VcGuestAuthentication</a>.
prefix String The prefix to be given to the new temporary file.
suffix String The suffix to be given to the new temporary file.
directoryPath String The complete path to the directory in which to create the file. If unset, or an empty string, a guest-specific location will be used.