The ExFTPClient type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExFTPClient | Initializes a new instance of the ExFTPClient class |
Methods
Name | Description | |
---|---|---|
Abort | Abort the current action. (Inherited from FTPClient.) | |
Account |
Supply account information string to the server.
(Inherited from FTPClient.) | |
CancelResume |
Cancel the resume. Use this method if something goes wrong
and the server is left in an inconsistent state
(Inherited from FTPClient.) | |
CancelTransfer | Cancels the current transfer. (Inherited from FTPClient.) | |
CdUp | Change the remote working directory to the parent directory. (Inherited from FTPClient.) | |
ChDir | Change the remote working directory to that supplied. (Inherited from FTPClient.) | |
CloseDataSocket(Stream) | (Inherited from FTPClient.) | |
CloseDataSocket(StreamReader) | (Inherited from FTPClient.) | |
CloseDataSocket(StreamWriter) | (Inherited from FTPClient.) | |
Connect |
Connects to the FTP server.
(Overrides FTPClient..::..Connect()()()().) | |
DebugResponses | Switch debug of responses on or off (Inherited from FTPClient.) | |
Delete | Delete the specified remote file. (Inherited from FTPClient.) | |
Dir()()()() |
List current directory's contents as an array of strings of
filenames.
(Inherited from FTPClient.) | |
Dir(String) |
List a directory's contents as an array of strings of filenames.
(Inherited from FTPClient.) | |
Dir(String, Boolean) |
List a directory's contents as an array of strings.
(Inherited from FTPClient.) | |
DirDetails()()()() |
List the current directory's contents as an array of FTPFile objects.
(Inherited from FTPClient.) | |
DirDetails(String) |
List a directory's contents as an array of FTPFile objects.
(Inherited from FTPClient.) | |
DirDetails(String, Boolean) |
Returns the given directory's contents and optionally that of its subdirectories
as an array of FTPFile objects.
| |
DirDetails(String, FTPFileCallback) |
List a directory's contents as an array of FTPFile objects.
(Inherited from FTPClient.) | |
EnableModeZCompression |
Set MODE Z so that all subsequent transfers are compressed. Not
supported by some servers
| |
Equals | (Inherited from Object.) | |
Exists |
Checks for the existence of a file on the server.
(Inherited from FTPClient.) | |
Features | Get the server supplied features. (Inherited from FTPClient.) | |
Finalize | (Inherited from Object.) | |
Get(String) | Get data from the FTP server. (Inherited from FTPClient.) | |
Get(Stream, String) |
Get data from the FTP server, using the currently
set transfer mode.
(Inherited from FTPClient.) | |
Get(String, String) |
Get data from the FTP server using the currently
set transfer mode.
(Inherited from FTPClient.) | |
GetHashCode | (Inherited from Object.) | |
GetInputStream | (Overrides FTPClient..::..GetInputStream()()()().) | |
GetLocalCRC |
Get the CRC-32 checksum for the named local file
| |
GetOutputStream | (Overrides FTPClient..::..GetOutputStream()()()().) | |
GetRemoteCRC |
Get the CRC-32 checksum for the named remote file
| |
GetSystem | Get the type of the OS at the server. (Inherited from FTPClient.) | |
GetType | (Inherited from Object.) | |
Help | Get the help text for the specified command
(Inherited from FTPClient.) | |
KillControlChannel | (Inherited from FTPClient.) | |
Login | Login into an account on the FTP server using the user-name and password provided. (Inherited from FTPClient.) | |
MemberwiseClone | (Inherited from Object.) | |
MkDir | Create the specified remote working directory. (Inherited from FTPClient.) | |
ModTime | Get modification time for a remote file. (Inherited from FTPClient.) | |
MultipleDelete(String) |
Delete multiple files in the current remote directory
| |
MultipleDelete(FileFilter) |
Delete multiple files in the current remote directory
| |
MultipleDelete(String, FileFilter, Boolean) |
Delete multiple files in the current remote directory and its subdirectories.
| |
MultipleDelete(String, String, Boolean) |
Delete multiple files in the current remote directory and its subdirectories.
| |
MultipleDeleteDirectories |
Remove a remote directory, and all its files and its subdirectories
| |
MultipleGet(String, FileFilter) |
Get multiple files into the specified local directory from the current remote directory
| |
MultipleGet(String, String) |
Get multiple files into the specified local directory from the current remote directory
| |
MultipleGet(String, String, FileFilter, Boolean) |
Get multiple files from the specified remote directory into the specified local directory
| |
MultipleGet(String, String, String, Boolean) |
Get multiple files from the specified remote directory into the specified local directory
| |
MultiplePut(String, FileFilter) |
Put multiple files from the specified local directory into the current remote directory
| |
MultiplePut(String, String) |
Put multiple files from the specified local directory into the current remote directory
| |
MultiplePut(String, String, FileFilter, Boolean) |
Put multiple files from the specified local directory into the specified remote directory
| |
MultiplePut(String, String, String, Boolean) |
Put multiple files from the specified local directory into the specified remote directory
| |
NoOperation |
Send a "no operation" message that does nothing, which can
be called periodically to prevent the connection timing out.
(Inherited from FTPClient.) | |
Password |
Supplies the password for a previously supplied
user-name to log into the FTP server. Must be
preceeded by the User(String) method
(Inherited from FTPClient.) | |
Put(array<Byte>[]()[][], String) |
Put data onto the FTP server in the current directory.
(Inherited from FTPClient.) | |
Put(Stream, String) |
Put a stream of data onto the FTP server in the current directory.
(Inherited from FTPClient.) | |
Put(String, String) |
Put a local file onto the FTP server in the current directory.
(Inherited from FTPClient.) | |
Put(array<Byte>[]()[][], String, Boolean) |
Put data onto the FTP server in the current directory. Allows
appending if current file exists.
(Inherited from FTPClient.) | |
Put(Stream, String, Boolean) |
Put a stream of data onto the FTP server in the current directory. Allows appending
if current file exists
(Inherited from FTPClient.) | |
Put(String, String, Boolean) |
Put a local file onto the FTP server in the current directory. Allows appending
if current file exists.
(Inherited from FTPClient.) | |
Pwd | Get the current remote working directory. (Inherited from FTPClient.) | |
Quit | Quit the FTP session by sending a QUIT command before closing the socket. (Inherited from FTPClient.) | |
QuitImmediately |
Quit the FTP session immediately by closing the control socket
without sending the QUIT command.
(Inherited from FTPClient.) | |
Quote | Issue arbitrary ftp commands to the FTP server. (Inherited from FTPClient.) | |
Rename | Rename a file or directory. (Inherited from FTPClient.) | |
Restart | Set the REST marker so that the next transfer doesn't start at the beginning of the remote file (Inherited from FTPClient.) | |
Resume | Make the next file transfer (put or get) resume. (Inherited from FTPClient.) | |
ResumeDownload | Make the next download resume at a specific point. (Inherited from FTPClient.) | |
RmDir | Delete the specified remote working directory. (Inherited from FTPClient.) | |
SetModTime | Sets the modification time of a remote file. (Inherited from FTPClient.) | |
Site | Run a site-specific command on the server. (Inherited from FTPClient.) | |
Size |
Get the size of a remote file.
(Inherited from FTPClient.) | |
TestConnection |
Tests the connection
(Inherited from FTPClient.) | |
ToString | (Inherited from Object.) | |
Unlock |
Unlock the software for use. This method should be used when
a configuration file isn't available
| |
User |
Supply the user-name to log into an account on the FTP server.
Must be followed by the Password(String) method.
Note that Connect()()()() must be called first.
(Inherited from FTPClient.) | |
ValidateTransfer | Validate that the Put() or get() was successful. (Inherited from FTPClient.) | |
ValidateTransferOnError |
Validate a transfer when an error has occurred on the data channel.
Set a very short transfer in case things have hung. Set it back
at the end.
(Inherited from FTPClient.) |
Fields
Name | Description | |
---|---|---|
key |
License key
| |
logTag | Logging tag (Inherited from FTPClient.) | |
noOperationInterval |
Interval for NOOP calls during large transfers in seconds
(Inherited from FTPClient.) | |
owner |
License owner
| |
socks |
SOCKS settings
| |
throttler |
Threshold for throttling
(Inherited from FTPClient.) |
Properties
Name | Description | |
---|---|---|
ActiveIPAddress |
Force the PORT command to send a fixed IP address, used only for
certain firewalls
(Inherited from FTPClient.) | |
ActivePortRange |
Port range for active mode, used only if it is
necessary to limit the ports to a narrow range specified
in a firewall
(Inherited from FTPClient.) | |
AutoPassiveIPSubstitution |
Use AutoPassiveIPSubstitution to ensure that
data-socket connections are made to the same IP address
that the control socket is connected to.
(Inherited from FTPClient.) | |
CloseStreamsAfterTransfer |
If true then streams are closed after a transfer has completed.
(Inherited from FTPClient.) | |
Connected |
Is the client currently connected?
(Inherited from FTPClient.) | |
ConnectMode |
The connection-mode (passive or active) of data-channels.
(Inherited from FTPClient.) | |
ControlEncoding |
The encoding to use when dealing with file and directory paths.
(Inherited from FTPClient.) | |
ControlPort |
The port on the server to which to connect the control-channel.
(Inherited from FTPClient.) | |
CountBeforeSleep |
Number of transfers before going to sleep
| |
DataEncoding |
The encoding to use for data when transferring in ASCII mode.
(Inherited from FTPClient.) | |
DeleteOnFailure |
Controls whether or not a file is deleted when a failure occurs.
(Inherited from FTPClient.) | |
DetectTransferMode |
If set to true, the transfer mode in operations involving multiple files is
automatically changed between ASCII and binary as appropriate.
| |
DirectoryEmptyMessages |
Holds fragments of server messages that indicate a directory
is empty
(Inherited from FTPClient.) | |
FileNotFoundMessages |
Holds fragments of server messages that indicate a file was not found
(Inherited from FTPClient.) | |
ForceConnectModeExtensions |
Force the use of EPRT and EPSV extensions even for IPv4
| |
FTPFileFactory |
Override the chosen file factory with a user created one - meaning
that a specific parser has been selected.
(Inherited from FTPClient.) | |
IsConnected |
Indicates whether the client is currently connected with the server.
(Inherited from FTPClient.) | |
IsResuming |
Returns true if the next transfer is to be resumed (i.e. Resume()()()() has been called).
(Inherited from FTPClient.) | |
LastBytesTransferred |
The number of bytes transferred in the last transfer operation.
(Inherited from FTPClient.) | |
LastFileTransferred |
The remote name/path of the last file transferred.
(Inherited from FTPClient.) | |
LastValidReply | The latest valid reply from the server. (Inherited from FTPClient.) | |
LicenseKey |
The license key string.
| |
LicenseOwner |
The license owner string.
| |
LogTag | Log tag (Inherited from FTPClient.) | |
MaxTransferRate |
The maximum transfer rate in bytes per sec
| |
ParsingCulture | The culture for parsing file listings. (Inherited from FTPClient.) | |
ProxySettings |
Settings for using proxies.
| |
RemoteHost |
The domain-name or IP address of the FTP server.
(Inherited from FTPClient.) | |
ServerWakeupInterval |
The interval in seconds that the server is sent a wakeup message during
large transfers.
(Inherited from FTPClient.) | |
ShowHiddenFiles |
Include hidden files in operations that involve listing of directories,
and if supported by the server.
(Inherited from FTPClient.) | |
SleepEnabled |
Enabling or not of sleeping after a certain number of transfers
| |
SleepTime |
Number of seconds spent asleep
| |
SocksContext | Obsolete.
Controls SOCKS integration.
| |
StrictReturnCodes | Controls whether or not checking of return codes is strict. (Inherited from FTPClient.) | |
SynchronizePassiveConnections |
For cases where your 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 default value for
SynchronizePassiveConnections is false.
(Inherited from FTPClient.) | |
TimeDifference |
Time difference between server and client (relative to client).
(Inherited from FTPClient.) | |
TimeIncludesSeconds |
Indicates whether seconds were included in the most recent directoy listing.
(Inherited from FTPClient.) | |
Timeout |
TCP timeout on the underlying sockets, in milliseconds.
(Inherited from FTPClient.) | |
TransferBufferSize |
The size of the buffers (in bytes) used in writing to and reading from the data-sockets.
(Inherited from FTPClient.) | |
TransferCompleteMessages |
Holds fragments of server messages that indicate a transfer completed.
(Inherited from FTPClient.) | |
TransferNotifyInterval |
The number of bytes transferred between each notification of the
BytesTransferred event.
(Inherited from FTPClient.) | |
TransferNotifyListings |
By default the BytesTransferred event is not triggered during directory
listings - this property can be used to enable this behaviour.
(Inherited from FTPClient.) | |
TransferType | The current file transfer type (BINARY or ASCII). (Inherited from FTPClient.) | |
WelcomeMessage |
Server welcome message.
(Inherited from FTPClient.) |
Events
Name | Description | |
---|---|---|
BytesTransferred |
Event triggered every time TransferNotifyInterval bytes transferred.
(Inherited from FTPClient.) | |
CommandError |
Occurs when there is an error while a command was being sent or
a reply was being received.
(Inherited from FTPClient.) | |
CommandSent |
Triggered every time a command is sent to the server.
(Inherited from FTPClient.) | |
ReplyReceived |
Triggered every time a reply is received from the server.
(Inherited from FTPClient.) | |
TransferComplete | Obsolete.
Notifies of the completion of a transfer.
(Inherited from FTPClient.) | |
TransferCompleteEx |
Notifies of the completion of a transfer, and supplies more details than TransferComplete (Inherited from FTPClient.) | |
TransferStarted | Obsolete.
Notifies of the start of a transfer.
(Inherited from FTPClient.) | |
TransferStartedEx |
Notifies of the start of a transfer, and supplies more details than TransferStarted (Inherited from FTPClient.) |