Interface ISshScpFileAccess
Provides metadata for SCP filesystem policy callbacks.
Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions.Models
Assembly: ApacheMinaSSHD.NET.Wrapper.dll
Syntax
public interface ISshScpFileAccess
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 the SCP command text when available.
Declaration
string? Command { get; }
Property Value
| Type | Description |
|---|---|
| string |
FileName
Gets the file name associated with the operation when available.
Declaration
string? FileName { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsDirectory
Gets whether the target is a directory.
Declaration
bool IsDirectory { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Length
Gets the file 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 |
Operation
Gets the SCP operation currently being evaluated.
Declaration
SshScpFileOperation Operation { get; }
Property Value
| Type | Description |
|---|---|
| SshScpFileOperation |
Options
Gets option names associated with the operation.
Declaration
IReadOnlyList<string> Options { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Pattern
Gets the outgoing file match pattern when available.
Declaration
string? Pattern { get; }
Property Value
| Type | Description |
|---|---|
| string |
Permissions
Gets permission names associated with the operation.
Declaration
IReadOnlyList<string> Permissions { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
PreserveTimestamp
Gets whether timestamps should be preserved.
Declaration
bool PreserveTimestamp { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Recursive
Gets whether the SCP command is recursive.
Declaration
bool Recursive { get; }
Property Value
| Type | Description |
|---|---|
| bool |
RequestedPath
Gets the client-requested path when available.
Declaration
string? RequestedPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
RootPath
Gets the configured SCP 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 |
ShouldBeDirectory
Gets whether the target should be a directory.
Declaration
bool ShouldBeDirectory { get; }
Property Value
| Type | Description |
|---|---|
| bool |