Interface IFtpDataConnection
An FTP data connection.
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IFtpDataConnection
  Properties
| Improve this Doc View SourceLocalAddress
Gets the local IP end point.
Declaration
IPEndPoint LocalAddress { get; }
  Property Value
| Type | Description | 
|---|---|
| IPEndPoint | 
RemoteAddress
Gets the remote IP end point.
Declaration
IPEndPoint RemoteAddress { get; }
  Property Value
| Type | Description | 
|---|---|
| IPEndPoint | 
Stream
Gets the stream for this data connection.
Declaration
Stream Stream { get; }
  Property Value
| Type | Description | 
|---|---|
| Stream | 
Methods
| Improve this Doc View SourceCloseAsync(CancellationToken)
Closes the connection (and the stream).
Declaration
Task CloseAsync(CancellationToken cancellationToken)
  Parameters
| Type | Name | Description | 
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token.  | 
      
Returns
| Type | Description | 
|---|---|
| Task | The task.  |