Search

Class VcFileTransferInformation

Extends VcDynamicData
Represents the information about a VcGuestFileManager operation of VcGuestFileManager 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.

Attributes

Name Type Description
attributes VcGuestFileAttributes File attributes of the file that is being transferred from the guest.
size Number Total size of the file in bytes.
url String 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&token=1234, the URL returned may be http://*/guestFile?id=1&token=1234. The client replaces the asterisk with the server name on which it invoked the call.

Methods

Name Returns
VcFileTransferInformation() constructor
equals(Object ) boolean
getDeserializer(String , java.lang.Class , javax.xml.namespace.QName ) org.apache.axis.encoding.Deserializer
getSerializer(String , java.lang.Class , javax.xml.namespace.QName ) org.apache.axis.encoding.Serializer
getTypeDesc() org.apache.axis.description.TypeDesc
hashCode() Number

Returned by

Method Returns
VcGuestFileManager.initiateFileTransferFromGuest(VcVirtualMachine vm, VcGuestAuthentication auth, String guestFilePath) VcFileTransferInformation

Referenced in

Method Returns
VcGuestFileManager.downloadFile(String vcoPath, VcFileTransferInformation ftInfo) boolean