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
}
auth
Required
GuestAuthentication is an abstract base class for authentication in the guest.
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
Different attributes for a guest file.
- Check GuestPosixFileAttributes for Posix guest files.
- Check GuestWindowsFileAttributes for Windows guest files.
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.