Getting properties of files and directories (PROPFIND)
Use the PROPFIND method to request:
- The amount of free/used space on Yandex.Disk (according to RFC 4331).
- A list of files and subdirectories contained in the directory (with the header
- Other properties of a file or directory.
The list of all the properties supported in the context of the WebDAV protocol is provided in the DAV Properties section of the protocol description. The XML elements that are used in requests and responses for properties are documented in the protocol specification.
Examples of PROPFIND method requests are provided in the sections: