The ProFTPConnection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ProFTPConnection()()()() |
Initializes a new instance of the ProFTPConnection class.
| |
ProFTPConnection(IContainer) |
Constructs a ProFTPConnection object and places it in the given container.
| |
ProFTPConnection(FTPClient) |
Create an ProFTPConnection using the given FTP client.
|
Methods
Name | Description | |
---|---|---|
AbortAsynchronous |
Aborts all queued asynchronous operations.
| |
BeginChangeWorkingDirectory |
Begins an asynchronous request to change the working directory.
| |
BeginChangeWorkingDirectoryUp |
Begins an asynchronous request to change to the parent of the current working directory on the server.
| |
BeginClose |
Begins an asynchronous request to close the FTP connection.
| |
BeginConnect |
Begins an asynchronous request to connect to an FTP server.
| |
BeginCreateDirectory |
Begins an asynchronous request to create the specified remote directory.
| |
BeginDeleteDirectory |
Begins an asynchronous request to delete the specified remote directory.
| |
BeginDeleteFile |
Begins an asynchronous request to delete the specified remote file.
| |
BeginDownloadByteArray |
Begins an asynchronous request to download data from the FTP server and return it as a byte-array.
| |
BeginDownloadFile |
Begins an asynchronous request to download a file from the FTP server and save it locally.
| |
BeginDownloadMultiple(String, FileFilter, AsyncCallback, Object) |
Begins an asynchronous request to download multiple files from the FTP server and save them locally.
| |
BeginDownloadMultiple(String, String, AsyncCallback, Object) |
Begins an asynchronous request to download multiple files from the FTP server and save them locally.
| |
BeginDownloadMultiple(String, String, FileFilter, Boolean, AsyncCallback, Object) |
Begins an asynchronous request to download multiple files from the FTP server and save them locally.
| |
BeginDownloadMultiple(String, String, String, Boolean, AsyncCallback, Object) |
Begins an asynchronous request to download multiple files from the FTP server and save them locally.
| |
BeginDownloadStream |
Begins an asynchronous request to download a file from the FTP server and write it to the given stream.
| |
BeginGetCommandHelp |
Begins an asynchronous request to get the help text for the specified FTP command.
| |
BeginGetFeatures |
Begins an asynchronous request to get the server supplied features.
| |
BeginGetFileInfos(AsyncCallback, Object) |
Begins an asynchronous request to retrieve the working directory's contents as an array of FTPFile objects.
| |
BeginGetFileInfos(String, AsyncCallback, Object) |
Begins an asynchronous request to retrieve the given directory's contents as an array of FTPFile objects.
| |
BeginGetFiles(AsyncCallback, Object) |
Begins an asynchronous request to list the current working directory's contents as an array of strings of file-names.
| |
BeginGetFiles(String, AsyncCallback, Object) |
Begins an asynchronous request to retrieve the given directory's contents as an array of strings of file-names.
| |
BeginGetLastWriteTime |
Begins an asynchronous request to get the modification time for a remote file.
| |
BeginGetSize |
Begins an asynchronous request to get the size of a remote file.
| |
BeginGetSystemType |
Begins an asynchronous request to get the type of the operating system at the server.
| |
BeginGetWorkingDirectory |
Begins an asynchronous request to get the working directory on the server.
| |
BeginInvokeFTPCommand |
Begins an asynchronous request to invoke the given literal FTP command on the server.
| |
BeginInvokeSiteCommand |
Begins an asynchronous request to invoke the given site command on the server.
| |
BeginLogin | ||
BeginRenameFile |
Begins an asynchronous request to rename a file or directory.
| |
BeginResumeTransfer |
Begins an asynchronous request to make the next file transfer (upload or download) resume.
| |
BeginSendPassword |
Begins an asynchronous request to supply the password for the previously supplied
user-name to log into the FTP server.
| |
BeginSendUserName |
Begins an asynchronous request to supply the user-name to log into an account on the FTP server.
| |
BeginUploadByteArray(array<Byte>[]()[][], String, AsyncCallback, Object) |
Begins an asynchronous request to upload an array of bytes to the FTP server in the current working directory.
| |
BeginUploadByteArray(array<Byte>[]()[][], String, Boolean, AsyncCallback, Object) |
Begins an asynchronous request to upload data to the FTP server in the current working directory.
| |
BeginUploadFile(String, String, AsyncCallback, Object) |
Begins an asynchronous request to upload a local file to the FTP server in the current working directory.
| |
BeginUploadFile(String, String, Boolean, AsyncCallback, Object) |
Begins an asynchronous request to upload a local file to the FTP server in the
current working directory. Allows appending if current file exists.
| |
BeginUploadMultiple(String, FileFilter, AsyncCallback, Object) |
Begins an asynchronous request to upload multiple files to the FTP server.
| |
BeginUploadMultiple(String, String, AsyncCallback, Object) |
Begins an asynchronous request to upload multiple files to the FTP server.
| |
BeginUploadMultiple(String, String, FileFilter, Boolean, AsyncCallback, Object) |
Begins an asynchronous request to upload multiple files to the FTP server.
| |
BeginUploadMultiple(String, String, String, Boolean, AsyncCallback, Object) |
Begins an asynchronous request to upload multiple files to the FTP server.
| |
BeginUploadStream(Stream, String, AsyncCallback, Object) |
Begins an asynchronous request to upload a stream of data to the FTP server in the current working directory.
| |
BeginUploadStream(Stream, String, Boolean, AsyncCallback, Object) |
Begins an asynchronous request to upload a stream of data to the FTP server
in the current working directory.
| |
CancelResume | Cancel the resume. (Inherited from FTPConnection.) | |
CancelTransfer | Cancels the current transfer. (Overrides FTPConnection..::..CancelTransfer()()()().) | |
ChangeWorkingDirectory |
Changes the working directory.
(Inherited from FTPConnection.) | |
ChangeWorkingDirectoryUp |
Changes to the parent of the current working directory on the server.
(Inherited from FTPConnection.) | |
CheckConnection |
Checks if the client has connected to the server and throws an exception if it hasn't.
This is only intended to be used by subclasses
(Inherited from FTPConnection.) | |
CheckFTPType |
Checks the FTP type and throws an exception if it's incorrect.
(Inherited from FTPConnection.) | |
Close()()()() | Quit the FTP session. (Inherited from FTPConnection.) | |
Close(Boolean) | Quit the FTP session. (Overrides FTPConnection..::..Close(Boolean).) | |
Connect | Connect to the FTP server. (Overrides FTPConnection..::..Connect()()()().) | |
CreateDirectory | Create the specified remote directory. (Inherited from FTPConnection.) | |
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.) | |
DeleteDirectory | Delete the specified remote directory. (Inherited from FTPConnection.) | |
DeleteFile | Delete the specified remote file. (Inherited from FTPConnection.) | |
DirectoryExists |
Tests if the given directory exists.
(Inherited from FTPConnection.) | |
Dispose()()()() |
Releases all resources used by the Component.
(Inherited from Component.) | |
Dispose(Boolean) |
Close the connection if it is open.
(Overrides FTPConnection..::..Dispose(Boolean).) | |
DownloadByteArray | Download data from the FTP server and return it as a byte-array. (Inherited from FTPConnection.) | |
DownloadFile | Download a file from the FTP server and save it locally. (Inherited from FTPConnection.) | |
DownloadMultiple(String, FileFilter) |
Get multiple files into the specified local directory from the current remote directory
| |
DownloadMultiple(String, String) |
Get multiple files into the specified local directory from the current remote directory
| |
DownloadMultiple(String, String, FileFilter, Boolean) |
Get multiple files from the specified remote directory into the specified local directory
| |
DownloadMultiple(String, String, String, Boolean) |
Get multiple files from the specified remote directory into the specified local directory
| |
DownloadStream | Download a file from the FTP server and write it to the given stream. (Inherited from FTPConnection.) | |
EndChangeWorkingDirectory |
Completes the asynchronous operation started in BeginChangeWorkingDirectory(String, AsyncCallback, Object).
| |
EndChangeWorkingDirectoryUp |
Completes the asynchronous operation started in BeginChangeWorkingDirectoryUp(AsyncCallback, Object).
| |
EndClose |
Completes the asynchronous operation started in BeginClose(AsyncCallback, Object).
| |
EndConnect |
Completes the asynchronous operation started in BeginConnect(AsyncCallback, Object).
| |
EndCreateDirectory |
Completes the asynchronous operation started in BeginCreateDirectory(String, AsyncCallback, Object).
| |
EndDeleteDirectory |
Completes the asynchronous operation started in BeginDeleteDirectory(String, AsyncCallback, Object).
| |
EndDeleteFile |
Completes the asynchronous operation started in BeginDeleteFile(String, AsyncCallback, Object).
| |
EndDownloadByteArray |
Completes the asynchronous operation started in BeginDownloadByteArray(String, AsyncCallback, Object).
| |
EndDownloadFile |
Completes the asynchronous operation started in BeginDownloadFile(String, String, AsyncCallback, Object).
| |
EndDownloadMultiple |
Completes the asynchronous operation started in one of the BeginDownloadMultiple
methods.
| |
EndDownloadStream |
Completes the asynchronous operation started in BeginDownloadStream(Stream, String, AsyncCallback, Object).
| |
EndGetCommandHelp |
Completes the asynchronous operation started in BeginGetCommandHelp(String, AsyncCallback, Object).
| |
EndGetFeatures |
Completes the asynchronous operation started in BeginGetFeatures(AsyncCallback, Object).
| |
EndGetFileInfos |
Completes the asynchronous operation started in one of the BeginGetFileInfos methods.
| |
EndGetFiles |
Completes the asynchronous operation started in one of the BeginGetFiles methods.
| |
EndGetLastWriteTime |
Completes the asynchronous operation started in BeginGetLastWriteTime(String, AsyncCallback, Object).
| |
EndGetSize |
Completes the asynchronous operation started in BeginGetSize(String, AsyncCallback, Object).
| |
EndGetSystemType |
Completes the asynchronous operation started in BeginGetSystemType(AsyncCallback, Object).
| |
EndGetWorkingDirectory |
Completes the asynchronous operation started in BeginGetWorkingDirectory(AsyncCallback, Object).
| |
EndInvokeFTPCommand |
Completes the asynchronous operation started in BeginInvokeFTPCommand(String, array<String>[]()[][], AsyncCallback, Object).
| |
EndInvokeSiteCommand |
Completes the asynchronous operation started in BeginInvokeFTPCommand(String, array<String>[]()[][], AsyncCallback, Object).
| |
EndLogin |
Completes the asynchronous operation started in BeginLogin(AsyncCallback, Object).
| |
EndRenameFile |
Completes the asynchronous operation started in BeginRenameFile(String, String, AsyncCallback, Object).
| |
EndResumeTransfer |
Completes the asynchronous operation started in BeginResumeTransfer(AsyncCallback, Object).
| |
EndSendPassword |
Completes the asynchronous operation started in BeginSendPassword(String, AsyncCallback, Object).
| |
EndSendUserName |
Completes the asynchronous operation started in BeginSendUserName(String, AsyncCallback, Object).
| |
EndUploadByteArray |
Completes the asynchronous operation started in one of the BeginUploadByteArray
methods.
| |
EndUploadFile |
Completes the asynchronous operation started in BeginDownloadFile(String, String, AsyncCallback, Object).
| |
EndUploadMultiple |
Completes the asynchronous operation started in one of the BeginUploadMultiple methods.
| |
EndUploadStream |
Completes the asynchronous operation started in one of the BeginUploadStream methods.
| |
Equals | (Inherited from Object.) | |
Exists |
Checks for the existence of a file on the server.
(Inherited from FTPConnection.) | |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.) | |
ftpClient_BytesTransferred |
Event-handler for BytesTransferred events received from IFileTransferClients.
(Inherited from FTPConnection.) | |
ftpClient_CommandSent |
Event-handler for [!:IFileTransferClient.CommandSent] events received from IFileTransferClients.
(Inherited from FTPConnection.) | |
ftpClient_ReplyReceived |
Event-handler for [!:IFileTransferClient.ReplyReceived] events received from IFileTransferClients.
(Inherited from FTPConnection.) | |
GetCommandHelp | Get the help text for the specified FTP command. (Inherited from FTPConnection.) | |
GetFeatures | Get the server supplied features. (Inherited from FTPConnection.) | |
GetFileInfos()()()() |
Returns the working directory's contents as an array of FTPFile objects.
(Inherited from FTPConnection.) | |
GetFileInfos(String) |
Returns the given directory's contents as an array of FTPFile objects.
(Inherited from FTPConnection.) | |
GetFileInfos(String, FTPFileCallback) |
Returns the given directory's contents as an array of FTPFile objects.
(Inherited from FTPConnection.) | |
GetFiles()()()() |
Lists current working directory's contents as an array of strings of file-names.
(Inherited from FTPConnection.) | |
GetFiles(String) |
List the given directory's contents as an array of strings of file-names.
(Inherited from FTPConnection.) | |
GetFiles(String, Boolean) |
List the given directory's contents as an array of strings of file-names or
full file details.
(Inherited from FTPConnection.) | |
GetHashCode |
Returns hash-code for this connection.
(Inherited from FTPConnection.) | |
GetLastWriteTime | Get modification time for a remote file. (Inherited from FTPConnection.) | |
GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
GetService | (Inherited from Component.) | |
GetSize |
Get the size of a remote file.
(Inherited from FTPConnection.) | |
GetSystemType | Get the type of the operating system at the server. (Inherited from FTPConnection.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
GetURL()()()() |
Returns a URL corresponding to the current state of this SecureFTPConnection.
(Inherited from FTPConnection.) | |
GetURL(Boolean, Boolean, Boolean) |
Returns a URL corresponding to the current state of this SecureFTPConnection.
The URL optionally includes the directory, user-name and password.
(Inherited from FTPConnection.) | |
GetWorkingDirectory | Obsolete.
Returns the working directory on the server.
(Inherited from FTPConnection.) | |
InitializeLifetimeService |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
InvokeDelegate |
Invokes the given delegate.
(Inherited from FTPConnection.) | |
InvokeEventHandler(Delegate, Object, EventArgs) |
Invokes the given event-handler.
(Inherited from FTPConnection.) | |
InvokeEventHandler(Boolean, Delegate, Object, EventArgs) |
Invokes the given event-handler.
(Inherited from FTPConnection.) | |
InvokeEventHandler(Boolean, Boolean, Delegate, Object, EventArgs) |
Invokes the given event-handler.
(Inherited from FTPConnection.) | |
InvokeFTPCommand |
Invokes the given literal FTP command on the server.
(Inherited from FTPConnection.) | |
InvokeSiteCommand |
Invokes the given site command on the server.
(Inherited from FTPConnection.) | |
LinkComponent | (Inherited from FTPConnection.) | |
Login | (Inherited from FTPConnection.) | |
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.) | |
OnBytesTransferred |
Called every time a specified number of bytes of data have been transferred.
(Inherited from FTPConnection.) | |
OnChangedLocalDirectory |
Called when the local directory has been changed.
(Inherited from FTPConnection.) | |
OnChangedServerDirectory |
Called when the server directory has been changed.
(Inherited from FTPConnection.) | |
OnChangingLocalDirectory |
Called when the local directory is about to be changed.
(Inherited from FTPConnection.) | |
OnChangingServerDirectory |
Called when the server directory is about to be changed.
(Inherited from FTPConnection.) | |
OnClosed |
Called when a connection has closed.
(Inherited from FTPConnection.) | |
OnClosing |
Called when a connection is about to close.
(Inherited from FTPConnection.) | |
OnConnected |
Called when a connection-attempt has completed.
(Inherited from FTPConnection.) | |
OnConnecting |
Called when a connection-attempt is being made.
(Inherited from FTPConnection.) | |
OnCreatedDirectory |
Called when a directory has been created.
(Inherited from FTPConnection.) | |
OnCreatingDirectory |
Called when a directory is about to be created.
(Inherited from FTPConnection.) | |
OnDeleted |
Called when a file deletion operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.) | |
OnDeletedDirectory |
Called when a directory has been deleted.
(Inherited from FTPConnection.) | |
OnDeleting |
Called when a file is about to be deleted.
(Inherited from FTPConnection.) | |
OnDeletingDirectory |
Called when a directory is about to be deleted.
(Inherited from FTPConnection.) | |
OnDirectoryListed |
Called when a directory listing has been retrieved.
(Inherited from FTPConnection.) | |
OnDirectoryListing |
Called when a directory listing is about to be retrieved.
(Inherited from FTPConnection.) | |
OnDownloaded(array<Byte>[]()[][], String, Int64, Exception, Int64, DateTime) |
Called when a file downloading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.) | |
OnDownloaded(Stream, String, Int64, Exception, Int64, DateTime) |
Called when a file downloading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.) | |
OnDownloaded(String, String, Int64, Boolean, Exception, Int64, DateTime) |
Called when a file downloading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.) | |
OnDownloading(String, Int64%, DateTime%) |
Called when a file is about to be downloaded.
(Inherited from FTPConnection.) | |
OnDownloading(Stream, String, Int64, Int64%, DateTime%) |
Called when a file is about to be downloaded.
(Inherited from FTPConnection.) | |
OnDownloading(String%, String, Boolean%, Int64%, DateTime%) |
Called when a file is about to be downloaded.
(Inherited from FTPConnection.) | |
OnLoggedIn |
Called when the client has logged in.
(Inherited from FTPConnection.) | |
OnLoggingIn |
Called when the client is about to log in.
(Inherited from FTPConnection.) | |
OnPropertyChanged |
Called when a property has been changed.
(Inherited from FTPConnection.) | |
OnRenamed |
Called when a file has been renamed.
(Inherited from FTPConnection.) | |
OnRenaming |
Called when a file is about to be renamed.
(Inherited from FTPConnection.) | |
OnSecuredConnection |
Called when security has been negotiated on the connection (control channel).
| |
OnSecuringConnection |
Called when security is being negotiated on the connection (control channel).
| |
OnUploaded(array<Byte>[]()[][], String, Int64, Boolean, Exception) |
Called when a file uploading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.) | |
OnUploaded(Stream, Int64, String, Boolean, Exception, Int64) |
Called when a file uploading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.) | |
OnUploaded(String, String, Int64, Boolean, Boolean, Exception) |
Called when a file uploading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.) | |
OnUploading(array<Byte>[]()[][], String%, Boolean%) |
Called when a byte-array is about to be uploaded.
(Inherited from FTPConnection.) | |
OnUploading(Stream, String%, Boolean%, Int64%) |
Called when a stream is about to be uploaded.
(Inherited from FTPConnection.) | |
OnUploading(String, String%, Boolean%, Boolean%) |
Called when a file is about to be uploaded.
(Inherited from FTPConnection.) | |
PerformAutoLogin | Attempt to log into the server if AutoLogin is on. (Inherited from FTPConnection.) | |
PostLogin |
Called after the user has been successfully logged in.
(Inherited from FTPConnection.) | |
RaiseBytesTransferred | Raise the BytesTransferred event. (Inherited from FTPConnection.) | |
RaiseClosed | Raise the Closed event. (Inherited from FTPConnection.) | |
RaiseClosing | Raise the Closing event. (Inherited from FTPConnection.) | |
RaiseCommandSent | Raise the CommandSent event. (Inherited from FTPConnection.) | |
RaiseConnected | Raise the Connected event. (Inherited from FTPConnection.) | |
RaiseConnecting | Raise the Connecting event. (Inherited from FTPConnection.) | |
RaiseCreatedDirectory | Raise the CreatedDirectory event. (Inherited from FTPConnection.) | |
RaiseCreatingDirectory | Raise the CreatingDirectory event. (Inherited from FTPConnection.) | |
RaiseDeleted | Raise the Deleted event. (Inherited from FTPConnection.) | |
RaiseDeletedDirectory | Raise the DeletedDirectory event. (Inherited from FTPConnection.) | |
RaiseDeleting | Raise the Deleting event. (Inherited from FTPConnection.) | |
RaiseDeletingDirectory | Raise the DeletingDirectory event. (Inherited from FTPConnection.) | |
RaiseDirectoryChanged | Raise the DirectoryChanged event. (Inherited from FTPConnection.) | |
RaiseDirectoryChanging | Raise the DirectoryChanging event. (Inherited from FTPConnection.) | |
RaiseDirectoryListed | Raise the DirectoryListed event. (Inherited from FTPConnection.) | |
RaiseDirectoryListing | Raise the DirectoryListing event. (Inherited from FTPConnection.) | |
RaiseDownloaded | Raise the Downloaded event. (Inherited from FTPConnection.) | |
RaiseDownloading | Raise the Downloading event. (Inherited from FTPConnection.) | |
RaiseLocalDirectoryChanged | Raise the LocalDirectoryChanged event. (Inherited from FTPConnection.) | |
RaiseLocalDirectoryChanging | Raise the LocalDirectoryChanging event. (Inherited from FTPConnection.) | |
RaiseLoggedIn | Raise the LoggedIn event. (Inherited from FTPConnection.) | |
RaiseLoggingIn | Raise the LoggingIn event. (Inherited from FTPConnection.) | |
RaisePropertyChanged | Raise the PropertyChanged event. (Inherited from FTPConnection.) | |
RaiseRenamedFile | Raise the RenamedFile event. (Inherited from FTPConnection.) | |
RaiseRenamingFile | Raise the RenamingFile event. (Inherited from FTPConnection.) | |
RaiseReplyReceived | Raise the ReplyReceived event. (Inherited from FTPConnection.) | |
RaiseServerDirectoryChanged | Raise the ServerDirectoryChanged event. (Inherited from FTPConnection.) | |
RaiseServerDirectoryChanging | Raise the ServerDirectoryChanging event. (Inherited from FTPConnection.) | |
RaiseUploaded | Raise the Uploaded event. (Inherited from FTPConnection.) | |
RaiseUploading | Raise the Uploading event. (Inherited from FTPConnection.) | |
RelativePathToAbsolute |
Combines a relative path with an absolute path.
(Inherited from FTPConnection.) | |
RenameFile | Rename a file or directory. (Inherited from FTPConnection.) | |
ResumeNextDownload | Make the next download resume at a specific point. (Inherited from FTPConnection.) | |
ResumeNextTransfer | Make the next file transfer (upload or download) resume. (Inherited from FTPConnection.) | |
ResumeTransfer | Obsolete. Make the next file transfer (upload or download) resume. (Inherited from FTPConnection.) | |
SecureConnection |
Switches an explicit FTPS connection to secure mode.
| |
SendAccountInfo |
Supply account info to the FTP server.
(Inherited from FTPConnection.) | |
SendPassword |
Supply the password for the previously supplied
user-name to log into the FTP server. Must be
preceeded by the SendUserName(String) method
(Inherited from FTPConnection.) | |
SendUserName |
Supply the user-name to log into an account on the FTP server.
Must be followed by the SendPassword(String) method.
(Inherited from FTPConnection.) | |
SetLastWriteTime | Set modification time for a remote file. (Inherited from FTPConnection.) | |
ShowSocksProxyEditor |
Displays the proxy settings editor as a modal dialog or as a window.
| |
ToString |
Returns a string representation of the connection.
(Inherited from FTPConnection.) | |
Unlock |
Unlock the software for use. This method should be used when
a configuration file isn't available
| |
UploadByteArray(array<Byte>[]()[][], String) |
Upload an array of bytes to the FTP server in the current working directory.
(Inherited from FTPConnection.) | |
UploadByteArray(array<Byte>[]()[][], String, Boolean) |
Upload data to the FTP server in the current working directory. Allows
appending if current file exists.
(Inherited from FTPConnection.) | |
UploadFile(String, String) |
Upload a local file to the FTP server in the current working directory.
(Inherited from FTPConnection.) | |
UploadFile(String, String, Boolean) |
Upload a local file to the FTP server in the current working directory. Allows appending
if current file exists.
(Inherited from FTPConnection.) | |
UploadMultiple(String, FileFilter) |
Put multiple files from the specified local directory into the current remote directory.
| |
UploadMultiple(String, String) |
Put multiple files from the specified local directory into the current remote directory.
| |
UploadMultiple(String, String, FileFilter, Boolean) |
Put multiple files from the specified local directory into the specified remote directory.
| |
UploadMultiple(String, String, String, Boolean) |
Put multiple files from the specified local directory into the specified remote directory.
| |
UploadStream(Stream, String) |
Upload a stream of data to the FTP server in the current working directory.
(Inherited from FTPConnection.) | |
UploadStream(Stream, String, Boolean) |
Upload a stream of data to the FTP server in the current working directory. Allows appending
if current file exists.
(Inherited from FTPConnection.) |
Fields
Name | Description | |
---|---|---|
accountInfoStr | Account information string, for use in FTP/FTPS with the ACCT command. (Inherited from FTPConnection.) | |
areEventsEnabled | Determines if events will be fired. (Inherited from FTPConnection.) | |
clientLock |
Used for locking connection.
(Inherited from FTPConnection.) | |
fileTransferType | Record of the transfer type - make the default ASCII. (Inherited from FTPConnection.) | |
ftpClient | Instance of FTPClient. (Inherited from FTPConnection.) | |
ftpType | Protocol used. (Inherited from FTPConnection.) | |
guiControl | Reference to the main window. (Inherited from FTPConnection.) | |
haveQueriedForControl | Flag used to remember whether or not we've tried to find the main window yet. (Inherited from FTPConnection.) | |
isTransferringData | Determines if events will be fired. (Inherited from FTPConnection.) | |
lastTransferCancel |
Flag indicating that the most recent transfer-operation was cancelled
(Inherited from FTPConnection.) | |
localDir |
Current local working directory.
(Inherited from FTPConnection.) | |
loginPassword | Password to log in with. (Inherited from FTPConnection.) | |
loginUserName | User-name to log in with. (Inherited from FTPConnection.) | |
remoteDir |
Current remote working directory.
(Inherited from FTPConnection.) | |
useAutoFeatures | Determines if the components will automatically send the FEAT command after logging in. (Inherited from FTPConnection.) | |
useAutoLogin | Determines if the components will automatically log in upon connection. (Inherited from FTPConnection.) | |
useGuiThread |
Flag indicating whether or not event-handlers will run on the GUI thread if one is
available.
(Inherited from FTPConnection.) |
Properties
Name | Description | |
---|---|---|
AccountInfo | Account information string. (Inherited from FTPConnection.) | |
ActiveClient |
Reference to the currently active IFileTransferClient.
(Inherited from FTPConnection.) | |
ActivePortRange |
Specifies the range of ports to be used for data-channels in active mode.
(Inherited from FTPConnection.) | |
AutoFeatures | Determines if the component will automatically send the FEAT command. (Inherited from FTPConnection.) | |
AutoLogin | Determines if the component will automatically log in upon connection. (Inherited from FTPConnection.) | |
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 FTPConnection.) | |
AutoSecure | Determines if the component will automatically switch to SSL/TLS upon
connection when using FTPS. | |
BuildTimestamp | The assembly's build timestamp. (Inherited from FTPConnection.) | |
CanRaiseEvents |
Gets a value indicating whether the component can raise an event.
(Inherited from Component.) | |
CipherSuites |
Get/sets the cipher-suites permissible during establishment of a secure
connection.
| |
ClientCertificate |
The certificate to be presented to the server.
| |
CloseStreamsAfterTransfer |
Determines if transfer-methods taking Streams as arguments should
close the stream once the transfer is completed.
(Inherited from FTPConnection.) | |
CommandEncoding |
The character-encoding to use for FTP control commands and when dealing with file- and directory-paths.
(Inherited from FTPConnection.) | |
ConnectMode |
The connection-mode (passive or active) of data-channels.
(Inherited from FTPConnection.) | |
Container |
Gets the IContainer that contains the Component.
(Inherited from Component.) | |
DataEncoding |
The character-encoding to use for transferring data in ASCII mode.
(Inherited from FTPConnection.) | |
DeleteOnFailure |
Controls whether or not a file is deleted when a failure occurs.
(Inherited from FTPConnection.) | |
DesignMode |
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.) | |
DetectTransferMode |
Determines whether 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 FTPConnection.) | |
Events |
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.) | |
EventsEnabled | Determines whether or not events are currently enabled. (Inherited from FTPConnection.) | |
FileInfoParser |
Override the chosen file factory with a user created one - meaning
that a specific parser has been selected
(Inherited from FTPConnection.) | |
FileNotFoundMessages |
Holds fragments of server messages that indicate a file was not found
(Inherited from FTPConnection.) | |
FilePathEncoding | Obsolete.
The character-encoding to use when dealing with file- and directory-paths.
(Inherited from FTPConnection.) | |
IsConnected |
Indicates whether the FTP client is currently connected with the server.
(Inherited from FTPConnection.) | |
IsControlChannelSecure |
Indicates whether the control channel is currently secure.
| |
IsTransferring |
Indicates whether or not a synchronous or asynchronous transfer is currently under way.
(Overrides FTPConnection..::..IsTransferring.) | |
LastTransferCancelled |
Indicates whether or not the most recent transfer was cancelled.
(Inherited from FTPConnection.) | |
LastValidReply | The latest valid reply from the server. (Inherited from FTPConnection.) | |
LicenseKey |
The license key string.
| |
LicenseOwner |
The license owner string.
| |
LocalDirectory |
The working directory on the local file-system into which files are downloaded.
(Inherited from FTPConnection.) | |
Name |
Name of this component.
(Inherited from FTPConnection.) | |
ParentControl |
Reference to Windows Forms controls (if available).
(Inherited from FTPConnection.) | |
ParsingCulture | The culture for parsing file listings. (Inherited from FTPConnection.) | |
Password | Password of account on the server. (Inherited from FTPConnection.) | |
Protocol | (Inherited from FTPConnection.) | |
PublicIPAddress |
IP address of the client as the server sees it.
(Inherited from FTPConnection.) | |
SecureFTPType |
Type of secure FTP to use.
| |
ServerAddress |
The domain-name or IP address of the FTP server.
(Inherited from FTPConnection.) | |
ServerCertificate |
The certificate presented by the server.
| |
ServerCommonName |
The name to be used when performing a name-check during
the validation of the server certificate.
| |
ServerCompatibility |
Controls various server security compatibility features.
| |
ServerDirectory |
The initial/current working directory on the server.
(Inherited from FTPConnection.) | |
ServerPort |
The port on the server to which to connect the control-channel.
(Inherited from FTPConnection.) | |
ServerValidation |
Method by which the server's certificate is validated.
| |
ShowHiddenFiles |
Include hidden files in operations that involve listing of directories,
and if supported by the server (FTP and FTPS).
(Inherited from FTPConnection.) | |
Site | (Inherited from FTPConnection.) | |
SocksProxySettings |
Settings for SOCKS proxy.
| |
SSLVersion |
SSL/TLS version to use.
| |
StrictReturnCodes | Controls whether or not checking of return codes is strict. (Inherited from FTPConnection.) | |
SynchronizePassiveConnections |
For cases where the 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 server sends the same port number to multiple clients).
(Inherited from FTPConnection.) | |
TimeDifference |
[FTP/FTPS Only] Time difference between server and client (relative to client).
(Inherited from FTPConnection.) | |
TimeIncludesSeconds |
[FTP/FTPS Only] Indicates whether seconds were included in the most recent directoy listing.
(Inherited from FTPConnection.) | |
Timeout |
TCP timeout (in milliseconds) of the underlying sockets (0 means none).
(Inherited from FTPConnection.) | |
TransferBufferSize |
The size of the buffers used in writing to and reading from the data-sockets.
(Inherited from FTPConnection.) | |
TransferCompleteMessages |
Holds fragments of server messages that indicate a transfer completed.
(Inherited from FTPConnection.) | |
TransferNotifyInterval |
The number of bytes transferred between each notification of the
BytesTransferred event.
(Inherited from FTPConnection.) | |
TransferNotifyListings |
By default the BytesTransferred event is not triggered
during directory listings - this property can be used to enable this behaviour.
(Inherited from FTPConnection.) | |
TransferType | The current file transfer type (BINARY or ASCII). (Inherited from FTPConnection.) | |
UseGuiThreadIfAvailable | Determines whether or not event-handlers will be run on the GUI thread if one is available. (Inherited from FTPConnection.) | |
UserName | User-name of account on the server. (Inherited from FTPConnection.) | |
Version | The version of the assembly. (Inherited from FTPConnection.) | |
WelcomeMessage |
Server's welcome message.
(Inherited from FTPConnection.) | |
WorkingDirectory | Obsolete.
The current working directory on the server.
(Inherited from FTPConnection.) |
Events
Name | Description | |
---|---|---|
BytesTransferred | Occurs every time a specified number of bytes of data have been transferred. (Inherited from FTPConnection.) | |
Closed | Occurs when the component has closed its connection to the server. (Inherited from FTPConnection.) | |
Closing | Occurs when the component is about to close its connection to the server. (Inherited from FTPConnection.) | |
CommandSent | Occurs when a command is sent to the server. (Inherited from FTPConnection.) | |
Connected | Occurs when the component has connected to the server. (Inherited from FTPConnection.) | |
Connecting | Occurs when the component is connecting to the server. (Inherited from FTPConnection.) | |
CreatedDirectory | Occurs when a local directory has been created on the server. (Inherited from FTPConnection.) | |
CreatingDirectory | Occurs when a directory is about to be created on the server. (Inherited from FTPConnection.) | |
Deleted | Occurs when a file has been deleted from the server. (Inherited from FTPConnection.) | |
DeletedDirectory | Occurs when a local directory has been deleted on the server. (Inherited from FTPConnection.) | |
Deleting | Occurs when a file is about to be deleted from the server. (Inherited from FTPConnection.) | |
DeletingDirectory | Occurs when a directory is about to be deleted on the server. (Inherited from FTPConnection.) | |
DirectoryChanged | Obsolete. Occurs when the server directory has been changed. (Inherited from FTPConnection.) | |
DirectoryChanging | Obsolete. Occurs when the server directory is about to be changed. (Inherited from FTPConnection.) | |
DirectoryListed | Occurs when a directory listing operations is completed. (Inherited from FTPConnection.) | |
DirectoryListing | Occurs when a directory listing operations is commenced. (Inherited from FTPConnection.) | |
Disposed |
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.) | |
Downloaded | Occurs when a file has been downloaded from the server. (Inherited from FTPConnection.) | |
Downloading | Occurs when a file is about to be downloaded from the server. (Inherited from FTPConnection.) | |
Error |
Occurs when an exception is thrown during an asynchronous operation.
| |
LocalDirectoryChanged | Occurs when the local directory has been changed. (Inherited from FTPConnection.) | |
LocalDirectoryChanging | Occurs when the local directory is about to be changed. (Inherited from FTPConnection.) | |
LoggedIn | Occurs when the component has logged in. (Inherited from FTPConnection.) | |
LoggingIn | Occurs when the component is about to log in. (Inherited from FTPConnection.) | |
PropertyChanged | Occurs when a property is changed. (Inherited from FTPConnection.) | |
RenamedFile | Occurs when a remote file has been renamed. (Inherited from FTPConnection.) | |
RenamingFile | Occurs when a remote file is about to be renamed. (Inherited from FTPConnection.) | |
ReplyReceived | Occurs when a reply is received from the server. (Inherited from FTPConnection.) | |
SecuredConnection | Occurs when the component has secured the connection to the server. | |
SecuringConnection | Occurs when the component is securing the connection to the server. | |
ServerDirectoryChanged | Occurs when the server directory has been changed. (Inherited from FTPConnection.) | |
ServerDirectoryChanging | Occurs when the server directory is about to be changed. (Inherited from FTPConnection.) | |
ServerValidate |
Server validation event.
| |
Uploaded | Occurs when a file has been uploaded to the server. (Inherited from FTPConnection.) | |
Uploading | Occurs when a file is about to be uploaded to the server. (Inherited from FTPConnection.) |