Click or drag to resize

Ftp Properties

The Ftp type exposes the following members.

Properties
  NameDescription
Public propertyActiveModeAddress
Gets or sets the IP address announced to the FTP server when establishing an Active mode data transfer. Don't set this unless needed. By default, the value of this property is None which means that the address of the network interface is used instead. This has no effect for passive mode transfers.
Public propertyActiveModePorts
Gets or sets the port range used in Active mode. This has no effect for passive mode transfers.
Public propertyASCIIChangeNewLines
Specifies if new lines should be changed when TransfersDataType is set to Ascii transfers. Default is false.
Public propertyConfiguration
Gets FTP protocol configuration.
Public propertyConnected
Gets a value indicating whether the underlying Socket is connected to a remote host. This property makes a nonblocking, zero-byte Send call to determine the current state of the connection.
(Inherited from TcpTextClient.)
Public propertyDontUseCompression
Forces the compression not to be used. You should set this field before connecting to the remote server. Default value is false.
Public propertyExtensions
Gets features container that can be used to check what FtpExtensions are supported by the server.
Public propertyIgnorePassiveModeAddress
Ignores address sent by the FTP server for data connections in Passive mode in response to PASV command. Default is .
Public propertyIgnorePassiveModeLocalAddress
Gets or sets the value indicating if a workaround for FTP servers that announce private range IP addresses even though a public IP was used for control connection. By default, when such address is detected, an IP address announced by the server in response to PASV command is ignored. Control's connection address is used instead. Default is .
Public propertyIsEncrypted
Gets a Boolean value that indicates whether communication to the remote server is encrypted.
(Inherited from TcpTextClient.)
Public propertyIsMutuallyAuthenticated
Gets a Boolean value that indicates whether communication to the remote server is mutually authenticated.
(Inherited from TcpTextClient.)
Public propertyIsSigned
Gets a Boolean value that indicates whether communication to the remote server is signed.
(Inherited from TcpTextClient.)
Public propertyMode
FTP data connection mode: Active (client waits for incoming data connections) or Passive (client establishes data connections). Passive is default.
Public propertyProtectionBufferSize
Gets or sets the maximum size, in bytes, of the encoded data blocks to be sent or received during file transfer.
Public propertyReceiveTimeout
Gets or sets the amount of time the underlying Socket will wait to receive data once a read operation is initiated.
(Inherited from TcpTextClient.)
Public propertySendTimeout
Gets or sets the amount of time the underlying Socket will wait for a send operation to complete successfully.
(Inherited from TcpTextClient.)
Public propertySocket
Gets the underlying Socket.
(Inherited from TcpTextClient.)
Public propertySSLConfiguration
Gets SSL configuration for this object (client certificates, enabled SSL protocols).
(Inherited from TcpTextClient.)
Public propertyStream
Gets underlying read stream for current connection.
(Inherited from TcpTextClient.)
Public propertyTransfersDataType
Gets or sets data type used for all data transfers. Default is Binary (I).
Public propertyUsesCompression
Gets a value indicating whether the compression is used for data transfers.
Top
See Also