FTP Server component.
| C# | Visual Basic | Visual C++ | F# |
public class FTP_Server : TCP_Server<FTP_Session>
Public Class FTP_Server Inherits TCP_Server(Of FTP_Session)
public ref class FTP_Server : public TCP_Server<FTP_Session^>
type FTP_Server = class inherit TCP_Server<FTP_Session> end
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| FTP_Server()()()() |
Defalut constructor.
| |
| Bindings |
Gets or sets TCP server IP bindings.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| ConnectionsProcessed |
Gets how many connections this TCP server has processed.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Dispose()()()() |
Cleans up any resources being used.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Disposed |
This event is raised when TCP server has disposed.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Equals(Object) | (Inherited from Object.) | |
| Error |
This event is raised when TCP server has unknown unhandled error.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| GreetingText |
Gets or sets server greeting text.
| |
| IsDisposed |
Gets if server is disposed.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| IsRunning |
Gets if server is running.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| LocalEndPoints |
Gets local listening IP end points.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Logger |
Gets or sets logger. Value null means no logging.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| MaxBadCommands |
Gets or sets how many bad commands session can have before it's terminated. Value 0 means unlimited.
| |
| MaxConnections |
Gets or sets maximum allowed concurent connections. Value 0 means unlimited.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| MaxConnectionsPerIP |
Gets or sets maximum allowed connections for 1 IP address. Value 0 means unlimited.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnDisposed()()()() |
Raises Disposed event.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| OnMaxConnectionsExceeded(FTP_Session) |
Is called when new incoming session and server maximum allowed connections exceeded.
(Overrides TCP_Server<(Of <(<'FTP_Session>)>)>.OnMaxConnectionsExceeded(T).) | |
| OnMaxConnectionsPerIPExceeded(FTP_Session) |
Is called when new incoming session and server maximum allowed connections per connected IP exceeded.
(Overrides TCP_Server<(Of <(<'FTP_Session>)>)>.OnMaxConnectionsPerIPExceeded(T).) | |
| OnStarted()()()() |
Raises Started event.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| OnStopped()()()() |
Raises Stopped event.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| PassivePublicIP |
Gets or sets passive mode public IP address what is reported to clients.
This property is manly needed if FTP server is running behind NAT.
Value null means not spcified.
| |
| PassiveStartPort |
Gets or sets passive mode start port form which server starts using ports.
| |
| Restart()()()() |
Restarts TCP server.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| SessionCreated |
This event is raised when TCP server creates new session.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| SessionIdleTimeout |
Gets or sets maximum allowed session idle time in seconds, after what session will be terminated. Value 0 means unlimited,
but this is strongly not recommened.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Sessions |
Gets TCP server active sessions.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Start()()()() |
Starts TCP server.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Started |
This event is raised when TCP server has started.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| StartTime |
Gets the time when server was started.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Stop()()()() |
Stops TCP server, all active connections will be terminated.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| Stopped |
This event is raised when TCP server has stopped.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
| Object | ||
| TCP_Server<(Of <(<'FTP_Session>)>)> | ||
| FTP_Server | ||
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119