Interface IRemoteFileOperations

Assembly: redb.Route.GenericFile.dll

Extension of for remote file systems (SFTP, FTP).
Adds connection lifecycle management.

public interface IRemoteFileOperations : IFileOperations

Properties

IsConnected

Whether a connection is currently established.

bool IsConnected { get; }

Methods

ConnectAsync(CancellationToken)

Establishes a connection to the remote server.

Task ConnectAsync(CancellationToken ct = default)

DisconnectAsync(CancellationToken)

Disconnects from the remote server.

Task DisconnectAsync(CancellationToken ct = default)