From the SDK documentation, we have this under FileManager ( ManagedObjectReference)
The source and the destination names are in the form of
a URL or a datastore path.
A URL has the formbq. scheme://authority/folder/path?dcPath=dcPath&dsName=dsName
where
scheme is
http
or
https
.
authority specifies the hostname or IP address of the VirtualCenter or
ESX server and optionally the port.dcPath is the inventory path to the Datacenter containing the
Datastore.dsName is the name of the Datastore.path is a slash-delimited path from the root of the datastore.
In short, we can refer any entitity on the storage, say the .vmx file, through some url formed as per the specification above.
I browse the datastore contents from my mozilla broswer by keying in the vCenter IP and then clicking on the "Browse datastores in the vSphere inventory" and thereon furnishing the credentials.
Under normal circumstances, i can click on the .vmx file and read its contents. But somehow, on a certain storage i wasn't able to open the .vmx file through the browser. I tried oepning the url from my python code, but i got "BadStatusLine" error..
Any idea on as to why sometimes the browser view of the datastore behaves this way..
Thanks/