Enumerates the connect modes that are possible, active and passive.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
Syntax
| C# |
|---|
public enum FTPConnectMode |
| Visual Basic |
|---|
Public Enumeration FTPConnectMode |
| Visual C++ |
|---|
public enum class FTPConnectMode |
Members
| Member name | Value | Description | |
|---|---|---|---|
| ACTIVE | 1 | Represents active - PORT - connect mode. The server connects to the client for data transfers. | |
| PASV | 2 | Represents passive - PASV - connect mode. The client connects to the server for data transfers. |
Remarks
The mode describes the behaviour of the server. In active mode, the server
actively connects to the client to establish a data connection. In passive mode
the client connects to the server.