# Data Object - FileInfo(vim.host.DatastoreBrowser.FileInfo)

Property of
  HostDatastoreBrowserSearchResults
Extended by
  FloppyImageFileInfo, FolderFileInfo, IsoImageFileInfo, VmConfigFileInfo, VmDiskFileInfo, VmLogFileInfo, VmNvramFileInfo, VmSnapshotFileInfo
Extends
  DynamicData
Since
  2.0

## Data Object Description

This data object type contains rudimentary information about a file in a datastore. The information here is not meant to cover all information in traditional file systems, but rather to provide sufficient information for files that are associated with virtual machines. Derived types describe the known file types for a datastore.

Properties

Name | Type | Description
--- | --- | ---
fileSize* | xsd:long | The size of the file in bytes.
friendlyName* | xsd:string | User friendly name. Since vSphere API 6.5
modification* | xsd:dateTime | The last date and time the file was modified.
owner* | xsd:string | The user name of the owner of the file. Since vSphere API 4.0
path | xsd:string | The path relative to the folder path in the search results.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="FileInfo"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="path" type="xsd:string"/> <element name="friendlyName" type="xsd:string" minOccurs="0"/> <element name="fileSize" type="xsd:long" minOccurs="0"/> <element name="modification" type="xsd:dateTime" minOccurs="0"/> <element name="owner" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>