The FTPConnection type exposes the following members.

Properties

  NameDescription
Public propertyAccountInfo
Account information string.
Protected propertyActiveClient
Reference to the currently active IFileTransferClient.
Public propertyActivePortRange
Specifies the range of ports to be used for data-channels in active mode.
Public propertyAutoFeatures
Determines if the component will automatically send the FEAT command.
Public propertyAutoLogin
Determines if the component will automatically log in upon connection.
Public propertyAutoPassiveIPSubstitution
Use AutoPassiveIPSubstitution to ensure that data-socket connections are made to the same IP address that the control socket is connected to.
Public propertyBuildTimestamp
The assembly's build timestamp.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyCloseStreamsAfterTransfer
Determines if transfer-methods taking Streams as arguments should close the stream once the transfer is completed.
Public propertyCommandEncoding
The character-encoding to use for FTP control commands and when dealing with file- and directory-paths.
Public propertyConnectMode
The connection-mode (passive or active) of data-channels.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyDataEncoding
The character-encoding to use for transferring data in ASCII mode.
Public propertyDeleteOnFailure
Controls whether or not a file is deleted when a failure occurs.
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyDirectoryEmptyMessages
Holds fragments of server messages that indicate a directory is empty.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyEventsEnabled
Determines whether or not events are currently enabled.
Public propertyFileInfoParser
Override the chosen file factory with a user created one - meaning that a specific parser has been selected
Public propertyFileNotFoundMessages
Holds fragments of server messages that indicate a file was not found
Public propertyFilePathEncoding Obsolete.
The character-encoding to use when dealing with file- and directory-paths.
Public propertyIsConnected
Indicates whether the FTP client is currently connected with the server.
Public propertyIsTransferring
Indicates whether the FTP client is currently transferring data.
Public propertyLastTransferCancelled
Indicates whether or not the most recent transfer was cancelled.
Public propertyLastValidReply
The latest valid reply from the server.
Public propertyLocalDirectory
The working directory on the local file-system into which files are downloaded.
Public propertyStatic memberLogFile
Name of file to which logs will be written.
Public propertyStatic memberLogLevel
Determines the level of logs written.
Public propertyLogTag
Logging tag
Public propertyStatic memberLogToConsole
Determines whether or not logs will be written to the console.
Public propertyStatic memberLogToTrace
Determines whether or not logs will be written using Trace.
Public propertyName
Name of this component.
Public propertyParentControl
Reference to Windows Forms controls (if available).
Public propertyParsingCulture
The culture for parsing file listings.
Public propertyPassword
Password of account on the server.
Public propertyProtocol
Type of file transfer to use.
Public propertyPublicIPAddress
IP address of the client as the server sees it.
Public propertyServerAddress
The domain-name or IP address of the FTP server.
Public propertyServerDirectory
The initial/current working directory on the server.
Public propertyServerPort
The port on the server to which to connect the control-channel.
Public propertyShowHiddenFiles
Include hidden files in operations that involve listing of directories, and if supported by the server (FTP and FTPS).
Public propertySite (Overrides Component..::..Site.)
Public propertyStrictReturnCodes
Controls whether or not checking of return codes is strict.
Public propertySynchronizePassiveConnections
For cases where the FTP server does not properly manage PASV connections, it may be necessary to synchronize the creation of passive data sockets. It has been reported that some FTP servers (such as those at Akamai) appear to get confused when multiple FTP clients from the same IP address attempt to connect at the same time (the server sends the same port number to multiple clients).
Public propertyTimeDifference
[FTP/FTPS Only] Time difference between server and client (relative to client).
Public propertyTimeIncludesSeconds
[FTP/FTPS Only] Indicates whether seconds were included in the most recent directoy listing.
Public propertyTimeout
TCP timeout (in milliseconds) of the underlying sockets (0 means none).
Public propertyTransferBufferSize
The size of the buffers used in writing to and reading from the data-sockets.
Public propertyTransferCompleteMessages
Holds fragments of server messages that indicate a transfer completed.
Public propertyTransferNotifyInterval
The number of bytes transferred between each notification of the BytesTransferred event.
Public propertyTransferNotifyListings
By default the BytesTransferred event is not triggered during directory listings - this property can be used to enable this behaviour.
Public propertyTransferType
The current file transfer type (BINARY or ASCII).
Public propertyUseGuiThreadIfAvailable
Determines whether or not event-handlers will be run on the GUI thread if one is available.
Public propertyUserName
User-name of account on the server.
Public propertyVersion
The version of the assembly.
Public propertyWelcomeMessage
Server's welcome message.
Public propertyWorkingDirectory Obsolete.
The current working directory on the server.

See Also