The FtpClient type exposes the following members.

Constructors

  NameDescription
FtpClientOverloaded.

Methods

  NameDescription
DisposeOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetFile
Gets specified remote file and saves it in the current local directory
GetFileAs
Gets specified remote file and saves it to a local file. Then it can verify the size of the file on the remote server is the same as locally.
GetFileDate
Gets the last modified date of a file on the remote server
GetFileSize
Gets the file size of a file on the remote server
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ListDirectory
Fetch directory listing given a filter on remote server
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
MgetFiles
Gets files which match a given pattern. Then it can verify the size of the files on the remote server is the same as locally.
MputFiles
Puts files which match a given pattern. Then it can verify the size of the files on the remote server is the same as locally.
Open
Initialize a connection to a ftp server
ProcessFileScript
Process a file script
PutFile
Puts a file on a ftp server Then it can verify the size of the file on the remote server is the same as locally.
PutFileAs
Puts a file on a ftp server Then it can verify the size of the file on the remote server is the same as locally.
SetLocalDirectory
Sets the current local directory
SetRemoteDirectory
Sets the current directory on remote server
StartLogger
"Starts" the logger for the ftp client
StopLogger
"Stops" the logger for the ftp client
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WriteFileList
Write a file containing a directory listing

Properties

  NameDescription
KeepConnectionAlive
Keep the connection alive. False terminates the connection after request
LastException
The last exception that has occured
MaxAttempts
Max number of times to try and transfer a file
ServerRetryDelay
Delay between retries in milliseconds
ServerTimeout
Server command timeout in milliseconds
TransferBufferSize
The size of the transfer buffer in bytes
UseBinary
Use binary mode to transfer files true/false
UsePassiveConnection
Use a passive ftp connection true/false

See Also