InitiateFileTransferToGuestRequestType

InitiateFileTransferToGuestRequestType
InitiateFileTransferToGuestRequestType

The parameters of InitiateFileTransferToGuest.

JSON Example
{
    "vm": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "auth": {
        "_typeName": "string",
        "interactiveSession": false
    },
    "guestFilePath": "string",
    "fileAttributes": {
        "_typeName": "string",
        "modificationTime": "string",
        "accessTime": "string",
        "symlinkTarget": "string"
    },
    "fileSize": 0,
    "overwrite": false
}
vm
Required

Virtual Machine to perform the operation on.

Required privileges: VirtualMachine.GuestOperations.Modify

auth
Required

The guest authentication data. See GuestAuthentication.

string
guestFilePath
Required

The complete destination path in the guest to transfer the file from the client. It cannot be a path to a directory or a symbolic link.

fileAttributes
Required

File attributes of the file that has to be created in the guest. See GuestFileAttributes. If any file attribute is not specified, then the default value of that property will be set for the file.

integer As int64 As int64
fileSize
Required

Size of the file to transfer to the guest in bytes.

boolean
overwrite
Required

If set, the destination file is clobbered.