Client Class

An FTP Client powered by FluentFTP library.

Definition

Namespace: DevCase.ThirdParty.FluentFTP
Assembly: DevCase.net48.ThirdParty.FluentFTP (in DevCase.net48.ThirdParty.FluentFTP.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class Client : IDisposable
Inheritance
Object    Client
Implements
IDisposable

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

FluentFTP

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Constructors

Client Initializes a new instance of the Client class.

Methods

Connect Connects to the FTP server.
CreateDirectory Creates a directory on the FTP server.
DeleteDirectory Creates a directory on the FTP server.
DeleteFile Deletes a file on the FTP server.
DirectoryExists Checks if a directory exist on the FTP server.
Disconnect Disconnects from the FTP server.
Dispose Releases all the resources used by this instance.
DownloadFile Downloads a file from the FTP server.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Execute Executes a command on the FTP server.
FileExists Checks if a file exist on the FTP server.
GetDirectories Gets a directory list on the specified path.
GetFiles Gets a file list on the specified path.
GetFileSize Gets the size of file.
GetHashAlgorithms Gets the currently HASH algorithm used for the HASH command on the FTP server.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetLinks Gets a link list on the specified path.
GetListing Gets a file/folder list on the specified path.
GetModifiedTime Gets the modified time of file.
GetNameListing Returns a file/directory listing using the NLST command.
GetType Gets the Type of the current instance.
(Inherited from Object)
GetWorkingDirectory Gets the current working directory on the FTP server.
OpenAppend Opens the specified file to be appended to...
OpenRead Opens the specified file for reading.
OpenWrite Opens the specified file for writing.
RenameDirectory Rename a directory on the FTP server.
RenameFile Rename a file on the FTP server.
SetWorkingDirectory Sets the working directory on the FTP server.
ToString Returns a string that represents the current object.
(Inherited from Object)
TryExecute Tries to execute a command on the FTP server.
UploadFile Uploads a file to the FTP server.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also