Method GetFileSystemInfoAsync
GetFileSystemInfoAsync(string, CancellationToken)
The size and free space of the file system that holds path, as df shows them
(statvfs@openssh.com).
public Task<SftpFileSystemInfo> GetFileSystemInfoAsync(string path, CancellationToken cancellationToken = default)
Parameters
pathstringcancellationTokenCancellationToken
Returns
Exceptions
- NotSupportedException
The server lacks
statvfs@openssh.com.