Added the statvfs call to the server connection. Also abstracted the error messages into an enumeration for easier use.