Files
deb-python-pyvmomi/docs/vim/vm/guest/FileManager/FileTransferInformation.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

1.8 KiB

vim.vm.guest.FileManager.FileTransferInformation

Represents the information about a InitiateFileTransferFromGuest operation of GuestFileManager object.The user can use the URL provided in url property to transfer the file from the guest. The user should send a HTTP GET request to the URL. Entire file content will be returned in the body of the response message.

extends

vmodl.DynamicData

since

vSphere API 5.0

Attributes:

attributes (vim.vm.guest.FileManager.FileAttributes):

File attributes of the file that is being transferred from the guest.

size (long):

Total size of the file in bytes.

url (str):

Specifies the URL to which the user has to send HTTP GET request. Multiple GET requests cannot be sent to the URL simulatenously. URL will become invalid once a successful GET request is sent. The host part of the URL is returned as '*' if the hostname to be used is the name of the server to which the call was made. For example, if the call is made to esx-svr-1.domain1.com, and the file is available for download from http://esx-svr-1.domain1.com/guestFile?id=1=1234, the URL returned may be http:///guestFile?id=1=1234. The client replaces the asterisk with the server name on which it invoked the call.