An NDoc Documented Class Library

FTPConnection Properties

The properties of the FTPConnection class are listed below. For a complete list of FTPConnection class members, see the FTPConnection Members topic.

Public Static Properties

LogFile Name of file to which logs will be written.
LogLevel Determines the level of logs written.
LogToConsole Determines whether or not logs will be written to the console.
LogToTrace Determines whether or not logs will be written using Trace.

Public Instance Properties

ActivePortRange Specifies the range of ports to be used for data-channels in active mode.
AutoLoginDetermines if the component will automatically log in upon connection.
AutoPassiveIPSubstitution Use AutoPassiveIPSubstitution to ensure that data-socket connections are made to the same IP address that the control socket is connected to.
BuildTimestampThe assembly's build timestamp.
CloseStreamsAfterTransfer Determines if transfer-methods taking Streams as arguments should close the stream once the transfer is completed.
CommandEncoding The character-encoding to use for FTP control commands and when dealing with file- and directory-paths.
ConnectMode The connection-mode (passive or active) of data-channels.
Container (inherited from Component) Gets the IContainer that contains the Component.
DataEncoding The character-encoding to use for transferring data in ASCII mode.
DeleteOnFailure Controls whether or not a file is deleted when a failure occurs.
DirectoryEmptyMessages Holds fragments of server messages that indicate a directory is empty.
EventsEnabledDetermines whether or not events are currently enabled.
FileInfoParser Override the chosen file factory with a user created one - meaning that a specific parser has been selected
FileNotFoundMessages Holds fragments of server messages that indicate a file was not found
FilePathEncodingObsolete. The character-encoding to use when dealing with file- and directory-paths.
IsConnected Indicates whether the FTP client is currently connected with the server.
IsTransferring Indicates whether the FTP client is currently transferring data.
LastTransferCancelled Indicates whether or not the most recent transfer was cancelled.
LastValidReplyThe latest valid reply from the server.
LocalDirectory The working directory on the local file-system into which files are downloaded.
ParentControl Reference to Windows Forms controls (if available).
ParsingCultureThe culture for parsing file listings.
PasswordPassword of account on the server.
Protocol Type of secure FTP to use.
PublicIPAddress IP address of the client as the server sees it.
ServerAddress The domain-name or IP address of the FTP server.
ServerDirectory The initial/current working directory on the server.
ServerPort The port on the server to which to connect the control-channel.
Site 
StrictReturnCodesControls whether or not checking of return codes is strict.
TimeDifference [FTP/FTPS Only] Time difference between server and client (relative to client).
TimeIncludesSeconds [FTP/FTPS Only] Indicates whether seconds were included in the most recent directoy listing.
Timeout TCP timeout (in milliseconds) of the underlying sockets (0 means none).
TransferBufferSize The size of the buffers used in writing to and reading from the data-sockets.
TransferCompleteMessages Holds fragments of server messages that indicate a transfer completed.
TransferNotifyInterval The number of bytes transferred between each notification of the BytesTransferred event.
TransferTypeThe current file transfer type (BINARY or ASCII).
UseGuiThreadIfAvailableDetermines whether or not event-handlers will be run on the GUI thread if one is available.
UserNameUser-name of account on the server.
VersionThe version of the assembly.
WorkingDirectoryObsolete. The current working directory on the server.

Protected Instance Properties

DesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Internal Instance Properties

ActiveClient Reference to the currently active IFileTransferClient.

See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace