Show space quota in status window
An easy to implement but useful feature would be to display the space quota (total/available space) in the status window.
It could just go on the existing line with the server connection info, e.g. like this: "Connected to https://server.net as foobar (75% used, 75 GB of 100 GB)."
The WebDAV PROPFIND method already returns the information needed for this feature.
Hello,
I am also interested in the function with an alert when exceeding the ocupation 75% and 95%.
Is it planned for soon? I'm willing to give a helping hand to implement the function.
I develop on OS X 10.6 or 10.8.
Exemple : Request:
PROPFIND /~milele/public/ HTTP/1.1
Depth: 0
Host: www.example.com
Content-Type: text/xml
Content-Length: xxx
<?xml version="1.0" ?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:quota-available-bytes/>
<D:quota-used-bytes/>
</D:prop>
</D:propfind>
Response:
HTTP/1.1 207 Multi-Status
Date: Tue, 16 Oct 2001 22:13:39 GMT
Content-Length: xxx
Content-Type: text/xml; charset=UTF-8
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>http://www.example.com/~milele/public/</D:href>
<D:propstat>
<D:prop>
<D:quota-available-bytes>596650</D:quota-available-bytes>
<D:quota-used-bytes>403350</D:quota-used-bytes>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
Source : http://www.ietf.org/rfc/rfc4331.txt
Implemented in master