Class DataConnectionServerCommand
Command to be called when data gets send over FTP-DATA.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.ServerCommands
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public class DataConnectionServerCommand : IServerCommand
Constructors
| Improve this Doc View SourceDataConnectionServerCommand(AsyncDataConnectionDelegate, FtpCommand)
Initializes a new instance of the DataConnectionServerCommand class.
Declaration
public DataConnectionServerCommand(AsyncDataConnectionDelegate dataConnectionDelegate, FtpCommand command)
Parameters
Type | Name | Description |
---|---|---|
AsyncDataConnectionDelegate | dataConnectionDelegate | The delegate to be called with the data connection. |
FtpCommand | command | The command initiation the data connection operation. |
Properties
| Improve this Doc View SourceCommand
Gets the command initiation the data connection operation.
Declaration
public FtpCommand Command { get; }
Property Value
Type | Description |
---|---|
FtpCommand |
DataConnectionDelegate
Gets the delegate to be called with the data connection.
Declaration
public AsyncDataConnectionDelegate DataConnectionDelegate { get; }
Property Value
Type | Description |
---|---|
AsyncDataConnectionDelegate |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |