FTP: add support for AVBL command

This commit is contained in:
Nicola Murino
2020-12-25 11:14:08 +01:00
parent 1dce1eff48
commit 2a95d031ea
12 changed files with 153 additions and 6 deletions

View File

@@ -494,6 +494,11 @@ func (fs *SFTPFs) Close() error {
return sshErr
}
// GetAvailableDiskSize return the available size for the specified path
func (*SFTPFs) GetAvailableDiskSize(dirName string) (int64, error) {
return 0, errStorageSizeUnavailable
}
func (fs *SFTPFs) checkConnection() error {
err := fs.closed()
if err == nil {