Interface ISshFileSystemAccess
Provides metadata for SFTP filesystem policy callbacks.
Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions.Models
Assembly: ApacheMinaSSHD.NET.Wrapper.dll
Syntax
public interface ISshFileSystemAccess
Properties
| Edit this page View SourceAttributes
Gets attributes associated with the operation.
Declaration
IReadOnlyDictionary<string, object> Attributes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, object> |
Command
Gets an operation-specific command value when available.
Declaration
int Command { get; }
Property Value
| Type | Description |
|---|---|
| int |
DestinationPath
Gets the operation destination path when available.
Declaration
string? DestinationPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Extension
Gets the SFTP extension name when available.
Declaration
string? Extension { get; }
Property Value
| Type | Description |
|---|---|
| string |
FileAttributeName
Gets the file attribute name when available.
Declaration
string? FileAttributeName { get; }
Property Value
| Type | Description |
|---|---|
| string |
FileAttributeView
Gets the file attribute view name when available.
Declaration
string? FileAttributeView { get; }
Property Value
| Type | Description |
|---|---|
| string |
FollowLinks
Gets whether links should be followed for the current operation.
Declaration
bool FollowLinks { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Group
Gets the group name when available.
Declaration
string? Group { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsDirectory
Gets whether the current target is a directory.
Declaration
bool IsDirectory { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsSymbolicLink
Gets whether the current target is a symbolic link.
Declaration
bool IsSymbolicLink { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Length
Gets an operation-specific length when available.
Declaration
long Length { get; }
Property Value
| Type | Description |
|---|---|
| long |
LocalPath
Gets the resolved local path when available.
Declaration
string? LocalPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Offset
Gets an operation-specific file offset when available.
Declaration
long Offset { get; }
Property Value
| Type | Description |
|---|---|
| long |
Operation
Gets the filesystem operation currently being evaluated.
Declaration
SshFileSystemOperation Operation { get; }
Property Value
| Type | Description |
|---|---|
| SshFileSystemOperation |
Options
Gets option names associated with the operation.
Declaration
IReadOnlyList<string> Options { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Owner
Gets the owner name when available.
Declaration
string? Owner { get; }
Property Value
| Type | Description |
|---|---|
| string |
RemoteHandle
Gets the remote handle identifier when available.
Declaration
string? RemoteHandle { get; }
Property Value
| Type | Description |
|---|---|
| string |
RemoteName
Gets the remote name being reported or manipulated when available.
Declaration
string? RemoteName { get; }
Property Value
| Type | Description |
|---|---|
| string |
RemotePath
Gets the client-requested remote path when available.
Declaration
string? RemotePath { get; }
Property Value
| Type | Description |
|---|---|
| string |
RootPath
Gets the configured filesystem root path when available.
Declaration
string? RootPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Session
Gets the session associated with the operation when available.
Declaration
ISshSession? Session { get; }
Property Value
| Type | Description |
|---|---|
| ISshSession |
SharedLock
Gets whether a requested lock is shared.
Declaration
bool SharedLock { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ShortName
Gets whether short-name reporting was requested.
Declaration
bool ShortName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SourcePath
Gets the operation source path when available.
Declaration
string? SourcePath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets an operation-specific value when available.
Declaration
object? Value { get; }
Property Value
| Type | Description |
|---|---|
| object |