Interface ISshDirectoryHandle
Represents an open SFTP directory handle.
Inherited Members
Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions.Models
Assembly: ApacheMinaSSHD.NET.Wrapper.dll
Syntax
public interface ISshDirectoryHandle : IDisposable
Properties
| Edit this page View SourceHasNext
Gets whether another directory entry is available.
Declaration
bool HasNext { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsDone
Gets whether the directory stream has completed.
Declaration
bool IsDone { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsWithDots
Gets whether dot entries are included for this handle.
Declaration
bool IsWithDots { get; }
Property Value
| Type | Description |
|---|---|
| bool |
PhysicalPath
Gets the local physical path associated with the handle.
Declaration
string PhysicalPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
ShouldSendDot
Gets whether the dot entry should still be sent.
Declaration
bool ShouldSendDot { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ShouldSendDotDot
Gets whether the dot-dot entry should still be sent.
Declaration
bool ShouldSendDotDot { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceClose()
Closes the directory handle.
Declaration
void Close()
MarkDone()
Marks the directory stream as done.
Declaration
void MarkDone()
MarkDotDotSent()
Marks the dot-dot entry as sent.
Declaration
void MarkDotDotSent()
MarkDotSent()
Marks the dot entry as sent.
Declaration
void MarkDotSent()
Next()
Gets the next directory entry path as a string.
Declaration
string Next()
Returns
| Type | Description |
|---|---|
| string |
Remove()
Removes the current directory entry when supported.
Declaration
void Remove()