The Ftp type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
ChangePassword |
Changes the password
|
![]() |
ChangeUser |
Changes the currently logged-in user to the specified user without disconnecting from the FTP server.
|
![]() |
Checksum(array<Byte>[]()[][], String) |
Compares checksum of the local data and remote file.
|
![]() |
Checksum(FileInfo, String) |
Compares checksum of the local and remote files.
|
![]() |
ClearCommandChannel |
Clears command channel protection. See RFC 2228 for details.
|
![]() |
Connect |
Connects to an FTP server and performs login.
|
![]() |
CreateObjRef |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) |
![]() |
DeleteDir |
Deletes a directory from the FTP server.
|
![]() |
DeleteFile |
Deletes the remote file from the FTP server.
|
![]() |
DirectoryExists |
Detects whether the specified directory exists on the server.
|
![]() |
DirUp |
Sets the current working directory on the FTP server to
the parent directory.
|
![]() |
Disconnect |
Quits FTP session and disconnects from FTP server.
|
![]() |
Dispose()()()() |
Releases all resources used by the Component.
(Inherited from Component.) |
![]() |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides Component..::..Dispose(Boolean).) |
![]() |
Download(String) |
Downloads a file from the FTP server relative to the local directory.
|
![]() |
Download(Stream, String) |
Downloads the file from the FTP server and writes the contents
to the OutputStream.
|
![]() |
Download(String, String) |
Downloads a file from the FTP server relative to the
local directory.
|
![]() |
DownloadDir |
Downloads the remote directory and all contents
recursively from the FTP server.
|
![]() |
Equals | (Inherited from Object.) |
![]() |
FileExists |
Detects whether the specified file exists on the server.
|
![]() |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.) |
![]() |
GetDirListing()()()() |
Gets the remote directory listing from the FTP server.
|
![]() |
GetDirListing(String) |
Gets file listing of files matching filter criteria.
Filter is any regular expression supported by the FTP server.
|
![]() |
GetDirListingArray()()()() |
Gets the remote directory listing from the FTP server.
|
![]() |
GetDirListingArray(String) |
Gets the remote directory listing from the FTP server.
|
![]() |
GetDirListingAsString()()()() |
Gets a listing of files from the remote directory.
|
![]() |
GetDirListingAsString(String) |
Gets a listing of files from the remote directory.
|
![]() |
GetFeatures |
Returns server features list.
|
![]() |
GetFeaturesArray |
Returns server features list.
|
![]() |
GetFileSize |
Gets the file size of the remote file on the FTP server
as represented in ASCII.
|
![]() |
GetFileTimeStamp |
Gets the date/timestamp of the remote file from the FTP server.
|
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetInputStream |
Gets the InputStream from the data connection.
|
![]() |
GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() |
GetMachineDirListing |
Returns directory listing.
|
![]() |
GetMachineDirListingArray |
Returns directory listing.
|
![]() |
GetMachineFileListing |
Gets the file description for the specified filename.
|
![]() |
GetNameListing()()()() |
Gets the remote directory listing from the FTP server.
|
![]() |
GetNameListing(String) |
Gets the remote directory listing from the FTP server.
|
![]() |
GetOutputStream |
Gets the OutputStream from the data connection.
|
![]() |
GetResponseCode |
Returns the code portion of the last server response.
|
![]() |
GetService | (Inherited from Component.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
InitializeLifetimeService |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() |
Interrupted | Obsolete. Checks if the transfer process was interrupted. |
![]() |
IsConnected |
Checks if client is connected to FTP server.
|
![]() |
IssueCommand |
Issues a command to the FTP server.
|
![]() |
IssueCommandCheck |
Issues a command to the FTP server.
|
![]() |
LocalDirListing |
Gets the local directory listing.
|
![]() |
MakeDir |
Makes a sub-directory on the FTP server.
|
![]() |
MakeLocalDir |
Creates local directory relative to current local directory.
|
![]() |
MDelete(String) |
Deletes multiple files that match the filter from the FTP
server remote directory.
|
![]() |
MDelete(String, RegexOptions) |
Deletes multiple files that match the filter from the FTP
server remote directory.
|
![]() |
MDownload(IEnumerator) |
Downloads the specified files in the current remote directory
from the FTP server to the local directory.
|
![]() |
MDownload(String) |
Downloads multiple files that match the filter from the FTP
server remote directory.
|
![]() |
MDownload(String, RegexOptions) |
Downloads multiple files that match the filter from the FTP
server remote directory.
|
![]() |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) |
![]() |
MUpload(IEnumerator) |
Uploads multiple files from the local directory to the remote
directory on the FTP server.
|
![]() |
MUpload(String) |
Uploads multiple files from the local directory to the remote
directory on the FTP server.
|
![]() |
MUpload(String, RegexOptions) |
Uploads multiple files from the local directory to the remote
directory on the FTP server.
|
![]() |
Noop |
Sends a NOOP (No Operation) command to the FTP server.
|
![]() |
RenameFile |
Renames the remote file on the FTP server.
|
![]() |
Reset | Obsolete. Resets the interrupted flag to false. |
![]() |
ResumeDownload(String) |
Resumes the download of the remote file from the FTP server.
|
![]() |
ResumeDownload(String, Int64) |
Resumes the download of the remote file from the FTP server.
|
![]() |
ResumeDownload(String, String) |
Resumes the download of the remote file from the FTP server.
|
![]() |
ResumeDownload(String, String, Int64) |
Resumes the download of the remote file from the FTP server.
|
![]() |
ResumeUpload(FileInfo) |
Resumes the upload of the file to the FTP server.
|
![]() |
ResumeUpload(String) |
Resumes the upload of the file to the FTP server.
|
![]() |
ResumeUpload(FileInfo, Int64) |
Resumes the upload of the file to the FTP server.
|
![]() |
ResumeUpload(String, Int64) |
Resumes the upload of the file to the FTP server.
|
![]() |
ResumeUpload(FileInfo, String, Int64) |
Resumes the upload of the file to the FTP server.
|
![]() |
ResumeUpload(String, String, Int64) |
Resumes the upload of the file to the FTP server.
|
![]() |
SetClientCertificate(String) |
Sets the client certificate file path.
The path must denote valid .cer or PEM file.
null value clears the current certificate value and
forces the SSL-subsystem to not use the client certificate while SSL-handshake.
|
![]() |
SetClientCertificate(String, String) |
Sets the client certificate file path together with it's password
The path must denote valid .cer or PEM file.
null value clears the current certificate value and
forces the SSL-subsystem to not use the client certificate while SSL-handshake.
|
![]() |
SetFileTimeStamp |
Sets the date/timestamp of the remote file from the FTP server.
|
![]() |
SetServerCertificate(String) |
Sets the server certificates file path. The path must denote valid PKCS#12/PFX
file.
null value forces the SSL-subsystem to not
verify the server certificate while SSL-handshake.
|
![]() |
SetServerCertificate(String, String) |
Sets the server certificates file path. The path must denote valid PKCS#12/PFX
file.
null value forces the SSL-subsystem to not
verify the server certificate while SSL-handshake.
|
![]() |
SetServerVerifier |
Sets the server verifier. E.g. To allow server certificates from Untrusted Root Authority use Ftp.SetServerVerifier(new UnTrustedVerifier());
|
![]() |
ToString |
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.) |
![]() |
Upload(FileInfo) |
Uploads a local file to the FTP server remote directory.
|
![]() |
Upload(String) |
Uploads a local file to the FTP server remote directory.
|
![]() |
Upload(array<Byte>[]()[][], String) |
Uploads a byte array to the FTP server remote directory.
|
![]() |
Upload(FileInfo, Boolean) |
Uploads a local file to the FTP server remote directory.
|
![]() |
Upload(FileInfo, String) |
Uploads a local file to the FTP server remote directory.
|
![]() |
Upload(String, Boolean) |
Uploads a local file to the FTP server remote directory.
|
![]() |
Upload(String, String) |
Uploads a local file to the FTP server remote directory.
|
![]() |
Upload(array<Byte>[]()[][], String, Boolean) |
Uploads a byte array to the FTP server remote directory.
|
![]() |
Upload(FileInfo, String, Boolean) |
Uploads a local file to the FTP server remote directory.
|
![]() |
Upload(String, String, Boolean) |
Uploads a local file to the FTP server remote directory.
|
![]() |
UploadDir(FileInfo) |
Uploads the local directory and contents recursively to
the FTP server.
|
![]() |
UploadDir(String) |
Uploads the local directory and contents recursively to
the FTP server.
|
![]() |
UploadUnique(FileInfo) |
Uploads a local file to the FTP server remote directory.
|
![]() |
UploadUnique(FileInfo, String) |
Uploads a local file to the FTP server remote directory.
|