ComponentSpace FTP Class Library Reference

FtpClientComponent.DataConnectionType Property

Gets or sets the data connection type.

[Visual Basic]
Public Property DataConnectionType As DataConnectionType
[C#]
public DataConnectionType DataConnectionType {get; set;}

Property Value

The data connection type. The default is Auto.

Remarks

If Inbound, a PORT command is issued and the server connects to the client. If Outbound, a PASV command is issued and the client connects to the server. This is referred to as passive mode. If Auto, an outbound connection is attempted and, if this fails, an inbound connection is then tried. However, if a previous inbound connection was made then an inbound connection is attempted again before trying an outbound connection.

See Also

FtpClientComponent Class | ComponentSpace.Ftp Namespace