Table of Contents

Constructor SftpFileSystemInfo

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll

SftpFileSystemInfo(long, long, long, long, long, long, bool, int)

A file system's size and free space, from GetFileSystemInfoAsync(string, CancellationToken).

public SftpFileSystemInfo(long TotalBytes, long FreeBytes, long AvailableBytes, long TotalFiles, long FreeFiles, long AvailableFiles, bool IsReadOnly, int MaxNameLength)

Parameters

TotalBytes long

The file system's size.

FreeBytes long

Free space, including what only the superuser may use.

AvailableBytes long

Free space the server's user may use.

TotalFiles long

The number of file entries (inodes).

FreeFiles long

Free file entries.

AvailableFiles long

Free file entries the server's user may use.

IsReadOnly bool

Whether the file system is mounted read-only.

MaxNameLength int

The longest file name it accepts.