Vm_Guest_Filesystem_Transfers_FileCreationAttributes

Vm_Guest_Filesystem_Transfers_FileCreationAttributes
Vm_Guest_Filesystem_Transfers_FileCreationAttributes

The Transfers.FileCreationAttributes structure describes file attributes used when transferring a file into the guest.

JSON Example
{
    "size": 0,
    "overwrite": false,
    "last_modified": "string",
    "last_accessed": "string",
    "windows": {
        "hidden": false,
        "read_only": false
    },
    "posix": {
        "owner_id": 0,
        "group_id": 0,
        "permissions": "string"
    }
}
integer As int64
size
Required

The size in bytes of the file to be transferred into the guest.

boolean
overwrite
Optional

Whether an existing file should be overwritten. If unset any existing file will not be overwritten.

string As date-time
last_modified
Optional

The date and time the file was last modified. If unset the value will be the time when the file is transferred into the guest.

string As date-time
last_accessed
Optional

The date and time the file was last accessed. If unset the value will be the time when the file is transferred into the guest.

windows
Optional

The Transfers.WindowsFileAttributesCreateSpec structure describes creation information about file attributes specific to Windows guest operating systems.

posix
Optional

The Transfers.PosixFileAttributesCreateSpec structure describes creation information about file attributes specific to Posix guest operating systems.