Implements a server that enables the application to send and receive files using the File Transfer Protocol.
For a list of all members of this type, see FtpServer Members.
System.Object
SocketTools.FtpServer
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The SocketTools.FtpServer class provides an interface for implementing an embedded, lightweight server that can be used to exchange files with a client using the standard File Transfer Protocol. The server can accept connections from any third-party application or a program developed using the SocketTools.FtpClient class.
The application specifies an initial server configuration by setting the relevant properties and can implement event handlers to monitor the activities of the clients that have connected to the server. The class automatically handles the standard FTP commands and requires minimal coding on the part of the application that is hosting the control. However, the application may also use event mechanism to filter specific commands or to extend the protocol by providing custom implementations of existing commands or add entirely new commands.
The server supports active and passive mode file transfers, has compatibility options for NAT router and firewall support, and provides support for secure file transfers using explicit TLS sessions. Secure connections require that a valid server certificate be installed on the system.
Namespace: SocketTools
Assembly: SocketTools.FtpServer (in SocketTools.FtpServer.dll)