edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

The ProFTPConnection type exposes the following members.

Constructors

  NameDescription
Public methodProFTPConnection()()()()
Initializes a new instance of the ProFTPConnection class.
Public methodProFTPConnection(IContainer)
Constructs a ProFTPConnection object and places it in the given container.
Protected methodProFTPConnection(FTPClient)
Create an ProFTPConnection using the given FTP client.

Methods

  NameDescription
Public methodAbortAsynchronous
Aborts all queued asynchronous operations.
Public methodBeginChangeWorkingDirectory
Begins an asynchronous request to change the working directory.
Public methodBeginChangeWorkingDirectoryUp
Begins an asynchronous request to change to the parent of the current working directory on the server.
Public methodBeginClose
Begins an asynchronous request to close the FTP connection.
Public methodBeginConnect
Begins an asynchronous request to connect to an FTP server.
Public methodBeginCreateDirectory
Begins an asynchronous request to create the specified remote directory.
Public methodBeginDeleteDirectory
Begins an asynchronous request to delete the specified remote directory.
Public methodBeginDeleteFile
Begins an asynchronous request to delete the specified remote file.
Public methodBeginDownloadByteArray
Begins an asynchronous request to download data from the FTP server and return it as a byte-array.
Public methodBeginDownloadFile
Begins an asynchronous request to download a file from the FTP server and save it locally.
Public methodBeginDownloadMultiple(String, FileFilter, AsyncCallback, Object)
Begins an asynchronous request to download multiple files from the FTP server and save them locally.
Public methodBeginDownloadMultiple(String, String, AsyncCallback, Object)
Begins an asynchronous request to download multiple files from the FTP server and save them locally.
Public methodBeginDownloadMultiple(String, String, FileFilter, Boolean, AsyncCallback, Object)
Begins an asynchronous request to download multiple files from the FTP server and save them locally.
Public methodBeginDownloadMultiple(String, String, String, Boolean, AsyncCallback, Object)
Begins an asynchronous request to download multiple files from the FTP server and save them locally.
Public methodBeginDownloadStream
Begins an asynchronous request to download a file from the FTP server and write it to the given stream.
Public methodBeginGetCommandHelp
Begins an asynchronous request to get the help text for the specified FTP command.
Public methodBeginGetFeatures
Begins an asynchronous request to get the server supplied features.
Public methodBeginGetFileInfos(AsyncCallback, Object)
Begins an asynchronous request to retrieve the working directory's contents as an array of FTPFile objects.
Public methodBeginGetFileInfos(String, AsyncCallback, Object)
Begins an asynchronous request to retrieve the given directory's contents as an array of FTPFile objects.
Public methodBeginGetFiles(AsyncCallback, Object)
Begins an asynchronous request to list the current working directory's contents as an array of strings of file-names.
Public methodBeginGetFiles(String, AsyncCallback, Object)
Begins an asynchronous request to retrieve the given directory's contents as an array of strings of file-names.
Public methodBeginGetLastWriteTime
Begins an asynchronous request to get the modification time for a remote file.
Public methodBeginGetSize
Begins an asynchronous request to get the size of a remote file.
Public methodBeginGetSystemType
Begins an asynchronous request to get the type of the operating system at the server.
Public methodBeginGetWorkingDirectory
Begins an asynchronous request to get the working directory on the server.
Public methodBeginInvokeFTPCommand
Begins an asynchronous request to invoke the given literal FTP command on the server.
Public methodBeginInvokeSiteCommand
Begins an asynchronous request to invoke the given site command on the server.
Public methodBeginLogin
Begins an asynchronous request to log into an account on the FTP server using UserName and Password.
Public methodBeginRenameFile
Begins an asynchronous request to rename a file or directory.
Public methodBeginResumeTransfer
Begins an asynchronous request to make the next file transfer (upload or download) resume.
Public methodBeginSendPassword
Begins an asynchronous request to supply the password for the previously supplied user-name to log into the FTP server.
Public methodBeginSendUserName
Begins an asynchronous request to supply the user-name to log into an account on the FTP server.
Public methodBeginUploadByteArray(array<Byte>[]()[][], String, AsyncCallback, Object)
Begins an asynchronous request to upload an array of bytes to the FTP server in the current working directory.
Public methodBeginUploadByteArray(array<Byte>[]()[][], String, Boolean, AsyncCallback, Object)
Begins an asynchronous request to upload data to the FTP server in the current working directory.
Public methodBeginUploadFile(String, String, AsyncCallback, Object)
Begins an asynchronous request to upload a local file to the FTP server in the current working directory.
Public methodBeginUploadFile(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.
Public methodBeginUploadMultiple(String, FileFilter, AsyncCallback, Object)
Begins an asynchronous request to upload multiple files to the FTP server.
Public methodBeginUploadMultiple(String, String, AsyncCallback, Object)
Begins an asynchronous request to upload multiple files to the FTP server.
Public methodBeginUploadMultiple(String, String, FileFilter, Boolean, AsyncCallback, Object)
Begins an asynchronous request to upload multiple files to the FTP server.
Public methodBeginUploadMultiple(String, String, String, Boolean, AsyncCallback, Object)
Begins an asynchronous request to upload multiple files to the FTP server.
Public methodBeginUploadStream(Stream, String, AsyncCallback, Object)
Begins an asynchronous request to upload a stream of data to the FTP server in the current working directory.
Public methodBeginUploadStream(Stream, String, Boolean, AsyncCallback, Object)
Begins an asynchronous request to upload a stream of data to the FTP server in the current working directory.
Public methodCancelResume
Cancel the resume.
(Inherited from FTPConnection.)
Public methodCancelTransfer
Cancels the current transfer.
(Overrides FTPConnection..::..CancelTransfer()()()().)
Public methodChangeWorkingDirectory
Changes the working directory.
(Inherited from FTPConnection.)
Public methodChangeWorkingDirectoryUp
Changes to the parent of the current working directory on the server.
(Inherited from FTPConnection.)
Protected methodCheckConnection
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.)
Protected methodCheckFTPType
Checks the FTP type and throws an exception if it's incorrect.
(Inherited from FTPConnection.)
Public methodClose()()()()
Quit the FTP session.
(Inherited from FTPConnection.)
Public methodClose(Boolean)
Quit the FTP session.
(Overrides FTPConnection..::..Close(Boolean).)
Public methodConnect
Connect to the FTP server.
(Overrides FTPConnection..::..Connect()()()().)
Public methodCreateDirectory
Create the specified remote directory.
(Inherited from FTPConnection.)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDeleteDirectory
Delete the specified remote directory.
(Inherited from FTPConnection.)
Public methodDeleteFile
Delete the specified remote file.
(Inherited from FTPConnection.)
Public methodDirectoryExists
Tests if the given directory exists.
(Inherited from FTPConnection.)
Public methodDispose()()()()
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Close the connection if it is open.
(Overrides FTPConnection..::..Dispose(Boolean).)
Public methodDownloadByteArray
Download data from the FTP server and return it as a byte-array.
(Inherited from FTPConnection.)
Public methodDownloadFile
Download a file from the FTP server and save it locally.
(Inherited from FTPConnection.)
Public methodDownloadMultiple(String, FileFilter)
Get multiple files into the specified local directory from the current remote directory
Public methodDownloadMultiple(String, String)
Get multiple files into the specified local directory from the current remote directory
Public methodDownloadMultiple(String, String, FileFilter, Boolean)
Get multiple files from the specified remote directory into the specified local directory
Public methodDownloadMultiple(String, String, String, Boolean)
Get multiple files from the specified remote directory into the specified local directory
Public methodDownloadStream
Download a file from the FTP server and write it to the given stream.
(Inherited from FTPConnection.)
Public methodEndChangeWorkingDirectory
Completes the asynchronous operation started in BeginChangeWorkingDirectory(String, AsyncCallback, Object).
Public methodEndChangeWorkingDirectoryUp
Completes the asynchronous operation started in BeginChangeWorkingDirectoryUp(AsyncCallback, Object).
Public methodEndClose
Completes the asynchronous operation started in BeginClose(AsyncCallback, Object).
Public methodEndConnect
Completes the asynchronous operation started in BeginConnect(AsyncCallback, Object).
Public methodEndCreateDirectory
Completes the asynchronous operation started in BeginCreateDirectory(String, AsyncCallback, Object).
Public methodEndDeleteDirectory
Completes the asynchronous operation started in BeginDeleteDirectory(String, AsyncCallback, Object).
Public methodEndDeleteFile
Completes the asynchronous operation started in BeginDeleteFile(String, AsyncCallback, Object).
Public methodEndDownloadByteArray
Completes the asynchronous operation started in BeginDownloadByteArray(String, AsyncCallback, Object).
Public methodEndDownloadFile
Completes the asynchronous operation started in BeginDownloadFile(String, String, AsyncCallback, Object).
Public methodEndDownloadMultiple
Completes the asynchronous operation started in one of the BeginDownloadMultiple methods.
Public methodEndDownloadStream
Completes the asynchronous operation started in BeginDownloadStream(Stream, String, AsyncCallback, Object).
Public methodEndGetCommandHelp
Completes the asynchronous operation started in BeginGetCommandHelp(String, AsyncCallback, Object).
Public methodEndGetFeatures
Completes the asynchronous operation started in BeginGetFeatures(AsyncCallback, Object).
Public methodEndGetFileInfos
Completes the asynchronous operation started in one of the BeginGetFileInfos methods.
Public methodEndGetFiles
Completes the asynchronous operation started in one of the BeginGetFiles methods.
Public methodEndGetLastWriteTime
Completes the asynchronous operation started in BeginGetLastWriteTime(String, AsyncCallback, Object).
Public methodEndGetSize
Completes the asynchronous operation started in BeginGetSize(String, AsyncCallback, Object).
Public methodEndGetSystemType
Completes the asynchronous operation started in BeginGetSystemType(AsyncCallback, Object).
Public methodEndGetWorkingDirectory
Completes the asynchronous operation started in BeginGetWorkingDirectory(AsyncCallback, Object).
Public methodEndInvokeFTPCommand
Completes the asynchronous operation started in BeginInvokeFTPCommand(String, array<String>[]()[][], AsyncCallback, Object).
Public methodEndInvokeSiteCommand
Completes the asynchronous operation started in BeginInvokeFTPCommand(String, array<String>[]()[][], AsyncCallback, Object).
Public methodEndLogin
Completes the asynchronous operation started in BeginLogin(AsyncCallback, Object).
Public methodEndRenameFile
Completes the asynchronous operation started in BeginRenameFile(String, String, AsyncCallback, Object).
Public methodEndResumeTransfer
Completes the asynchronous operation started in BeginResumeTransfer(AsyncCallback, Object).
Public methodEndSendPassword
Completes the asynchronous operation started in BeginSendPassword(String, AsyncCallback, Object).
Public methodEndSendUserName
Completes the asynchronous operation started in BeginSendUserName(String, AsyncCallback, Object).
Public methodEndUploadByteArray
Completes the asynchronous operation started in one of the BeginUploadByteArray methods.
Public methodEndUploadFile
Completes the asynchronous operation started in BeginDownloadFile(String, String, AsyncCallback, Object).
Public methodEndUploadMultiple
Completes the asynchronous operation started in one of the BeginUploadMultiple methods.
Public methodEndUploadStream
Completes the asynchronous operation started in one of the BeginUploadStream methods.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExists
Checks for the existence of a file on the server.
(Inherited from FTPConnection.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Protected methodftpClient_BytesTransferred
Event-handler for BytesTransferred events received from IFileTransferClients.
(Inherited from FTPConnection.)
Protected methodftpClient_CommandSent
Event-handler for [!:IFileTransferClient.CommandSent] events received from IFileTransferClients.
(Inherited from FTPConnection.)
Protected methodftpClient_ReplyReceived
Event-handler for [!:IFileTransferClient.ReplyReceived] events received from IFileTransferClients.
(Inherited from FTPConnection.)
Public methodGetCommandHelp
Get the help text for the specified FTP command.
(Inherited from FTPConnection.)
Public methodGetFeatures
Get the server supplied features.
(Inherited from FTPConnection.)
Public methodGetFileInfos()()()()
Returns the working directory's contents as an array of FTPFile objects.
(Inherited from FTPConnection.)
Public methodGetFileInfos(String)
Returns the given directory's contents as an array of FTPFile objects.
(Inherited from FTPConnection.)
Public methodGetFileInfos(String, FTPFileCallback)
Returns the given directory's contents as an array of FTPFile objects.
(Inherited from FTPConnection.)
Public methodGetFiles()()()()
Lists current working directory's contents as an array of strings of file-names.
(Inherited from FTPConnection.)
Public methodGetFiles(String)
List the given directory's contents as an array of strings of file-names.
(Inherited from FTPConnection.)
Public methodGetFiles(String, Boolean)
List the given directory's contents as an array of strings of file-names or full file details.
(Inherited from FTPConnection.)
Public methodGetHashCode
Returns hash-code for this connection.
(Inherited from FTPConnection.)
Public methodGetLastWriteTime
Get modification time for a remote file.
(Inherited from FTPConnection.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetSize
Get the size of a remote file.
(Inherited from FTPConnection.)
Public methodGetSystemType
Get the type of the operating system at the server.
(Inherited from FTPConnection.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetURL()()()()
Returns a URL corresponding to the current state of this SecureFTPConnection.
(Inherited from FTPConnection.)
Public methodGetURL(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.)
Public methodGetWorkingDirectory Obsolete.
Returns the working directory on the server.
(Inherited from FTPConnection.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodInvokeDelegate
Invokes the given delegate.
(Inherited from FTPConnection.)
Protected methodInvokeEventHandler(Delegate, Object, EventArgs)
Invokes the given event-handler.
(Inherited from FTPConnection.)
Protected methodInvokeEventHandler(Boolean, Delegate, Object, EventArgs)
Invokes the given event-handler.
(Inherited from FTPConnection.)
Protected methodInvokeEventHandler(Boolean, Boolean, Delegate, Object, EventArgs)
Invokes the given event-handler.
(Inherited from FTPConnection.)
Public methodInvokeFTPCommand
Invokes the given literal FTP command on the server.
(Inherited from FTPConnection.)
Public methodInvokeSiteCommand
Invokes the given site command on the server.
(Inherited from FTPConnection.)
Public methodLinkComponent (Inherited from FTPConnection.)
Public methodLogin
Log into an account on the FTP server using UserName and Password.
(Inherited from FTPConnection.)
Protected methodMemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnBytesTransferred
Called every time a specified number of bytes of data have been transferred.
(Inherited from FTPConnection.)
Protected methodOnChangedLocalDirectory
Called when the local directory has been changed.
(Inherited from FTPConnection.)
Protected methodOnChangedServerDirectory
Called when the server directory has been changed.
(Inherited from FTPConnection.)
Protected methodOnChangingLocalDirectory
Called when the local directory is about to be changed.
(Inherited from FTPConnection.)
Protected methodOnChangingServerDirectory
Called when the server directory is about to be changed.
(Inherited from FTPConnection.)
Protected methodOnClosed
Called when a connection has closed.
(Inherited from FTPConnection.)
Protected methodOnClosing
Called when a connection is about to close.
(Inherited from FTPConnection.)
Protected methodOnConnected
Called when a connection-attempt has completed.
(Inherited from FTPConnection.)
Protected methodOnConnecting
Called when a connection-attempt is being made.
(Inherited from FTPConnection.)
Protected methodOnCreatedDirectory
Called when a directory has been created.
(Inherited from FTPConnection.)
Protected methodOnCreatingDirectory
Called when a directory is about to be created.
(Inherited from FTPConnection.)
Protected methodOnDeleted
Called when a file deletion operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.)
Protected methodOnDeletedDirectory
Called when a directory has been deleted.
(Inherited from FTPConnection.)
Protected methodOnDeleting
Called when a file is about to be deleted.
(Inherited from FTPConnection.)
Protected methodOnDeletingDirectory
Called when a directory is about to be deleted.
(Inherited from FTPConnection.)
Protected methodOnDirectoryListed
Called when a directory listing has been retrieved.
(Inherited from FTPConnection.)
Protected methodOnDirectoryListing
Called when a directory listing is about to be retrieved.
(Inherited from FTPConnection.)
Protected methodOnDownloaded(array<Byte>[]()[][], String, Int64, Exception, Int64, DateTime)
Called when a file downloading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.)
Protected methodOnDownloaded(Stream, String, Int64, Exception, Int64, DateTime)
Called when a file downloading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.)
Protected methodOnDownloaded(String, String, Int64, Boolean, Exception, Int64, DateTime)
Called when a file downloading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.)
Protected methodOnDownloading(String, Int64%, DateTime%)
Called when a file is about to be downloaded.
(Inherited from FTPConnection.)
Protected methodOnDownloading(Stream, String, Int64, Int64%, DateTime%)
Called when a file is about to be downloaded.
(Inherited from FTPConnection.)
Protected methodOnDownloading(String%, String, Boolean%, Int64%, DateTime%)
Called when a file is about to be downloaded.
(Inherited from FTPConnection.)
Protected methodOnLoggedIn
Called when the client has logged in.
(Inherited from FTPConnection.)
Protected methodOnLoggingIn
Called when the client is about to log in.
(Inherited from FTPConnection.)
Protected methodOnPropertyChanged
Called when a property has been changed.
(Inherited from FTPConnection.)
Protected methodOnRenamed
Called when a file has been renamed.
(Inherited from FTPConnection.)
Protected methodOnRenaming
Called when a file is about to be renamed.
(Inherited from FTPConnection.)
Protected methodOnSecuredConnection
Called when security has been negotiated on the connection (control channel).
Protected methodOnSecuringConnection
Called when security is being negotiated on the connection (control channel).
Protected methodOnUploaded(array<Byte>[]()[][], String, Int64, Boolean, Exception)
Called when a file uploading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.)
Protected methodOnUploaded(Stream, Int64, String, Boolean, Exception, Int64)
Called when a file uploading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.)
Protected methodOnUploaded(String, String, Int64, Boolean, Boolean, Exception)
Called when a file uploading operation has completed (though it may have been cancelled).
(Inherited from FTPConnection.)
Protected methodOnUploading(array<Byte>[]()[][], String%, Boolean%)
Called when a byte-array is about to be uploaded.
(Inherited from FTPConnection.)
Protected methodOnUploading(Stream, String%, Boolean%, Int64%)
Called when a stream is about to be uploaded.
(Inherited from FTPConnection.)
Protected methodOnUploading(String, String%, Boolean%, Boolean%)
Called when a file is about to be uploaded.
(Inherited from FTPConnection.)
Protected methodPerformAutoLogin
Attempt to log into the server if AutoLogin is on.
(Inherited from FTPConnection.)
Public methodPostLogin
Called after the user has been successfully logged in.
(Inherited from FTPConnection.)
Protected methodRaiseBytesTransferred
Raise the BytesTransferred event.
(Inherited from FTPConnection.)
Protected methodRaiseClosed
Raise the Closed event.
(Inherited from FTPConnection.)
Protected methodRaiseClosing
Raise the Closing event.
(Inherited from FTPConnection.)
Protected methodRaiseCommandSent
Raise the CommandSent event.
(Inherited from FTPConnection.)
Protected methodRaiseConnected
Raise the Connected event.
(Inherited from FTPConnection.)
Protected methodRaiseConnecting
Raise the Connecting event.
(Inherited from FTPConnection.)
Protected methodRaiseCreatedDirectory
Raise the CreatedDirectory event.
(Inherited from FTPConnection.)
Protected methodRaiseCreatingDirectory
Raise the CreatingDirectory event.
(Inherited from FTPConnection.)
Protected methodRaiseDeleted
Raise the Deleted event.
(Inherited from FTPConnection.)
Protected methodRaiseDeletedDirectory
Raise the DeletedDirectory event.
(Inherited from FTPConnection.)
Protected methodRaiseDeleting
Raise the Deleting event.
(Inherited from FTPConnection.)
Protected methodRaiseDeletingDirectory
Raise the DeletingDirectory event.
(Inherited from FTPConnection.)
Protected methodRaiseDirectoryChanged
Raise the DirectoryChanged event.
(Inherited from FTPConnection.)
Protected methodRaiseDirectoryChanging
Raise the DirectoryChanging event.
(Inherited from FTPConnection.)
Protected methodRaiseDirectoryListed
Raise the DirectoryListed event.
(Inherited from FTPConnection.)
Protected methodRaiseDirectoryListing
Raise the DirectoryListing event.
(Inherited from FTPConnection.)
Protected methodRaiseDownloaded
Raise the Downloaded event.
(Inherited from FTPConnection.)
Protected methodRaiseDownloading
Raise the Downloading event.
(Inherited from FTPConnection.)
Protected methodRaiseLocalDirectoryChanged
Raise the LocalDirectoryChanged event.
(Inherited from FTPConnection.)
Protected methodRaiseLocalDirectoryChanging
Raise the LocalDirectoryChanging event.
(Inherited from FTPConnection.)
Protected methodRaiseLoggedIn
Raise the LoggedIn event.
(Inherited from FTPConnection.)
Protected methodRaiseLoggingIn
Raise the LoggingIn event.
(Inherited from FTPConnection.)
Protected methodRaisePropertyChanged
Raise the PropertyChanged event.
(Inherited from FTPConnection.)
Protected methodRaiseRenamedFile
Raise the RenamedFile event.
(Inherited from FTPConnection.)
Protected methodRaiseRenamingFile
Raise the RenamingFile event.
(Inherited from FTPConnection.)
Protected methodRaiseReplyReceived
Raise the ReplyReceived event.
(Inherited from FTPConnection.)
Protected methodRaiseServerDirectoryChanged
Raise the ServerDirectoryChanged event.
(Inherited from FTPConnection.)
Protected methodRaiseServerDirectoryChanging
Raise the ServerDirectoryChanging event.
(Inherited from FTPConnection.)
Protected methodRaiseUploaded
Raise the Uploaded event.
(Inherited from FTPConnection.)
Protected methodRaiseUploading
Raise the Uploading event.
(Inherited from FTPConnection.)
Protected methodRelativePathToAbsolute
Combines a relative path with an absolute path.
(Inherited from FTPConnection.)
Public methodRenameFile
Rename a file or directory.
(Inherited from FTPConnection.)
Public methodResumeNextDownload
Make the next download resume at a specific point.
(Inherited from FTPConnection.)
Public methodResumeNextTransfer
Make the next file transfer (upload or download) resume.
(Inherited from FTPConnection.)
Public methodResumeTransfer Obsolete.
Make the next file transfer (upload or download) resume.
(Inherited from FTPConnection.)
Public methodSecureConnection
Switches an explicit FTPS connection to secure mode.
Public methodSendAccountInfo
Supply account info to the FTP server.
(Inherited from FTPConnection.)
Public methodSendPassword
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.)
Public methodSendUserName
Supply the user-name to log into an account on the FTP server. Must be followed by the SendPassword(String) method.
(Inherited from FTPConnection.)
Public methodSetLastWriteTime
Set modification time for a remote file.
(Inherited from FTPConnection.)
Public methodShowSocksProxyEditor
Displays the proxy settings editor as a modal dialog or as a window.
Public methodToString
Returns a string representation of the connection.
(Inherited from FTPConnection.)
Public methodUnlock
Unlock the software for use. This method should be used when a configuration file isn't available
Public methodUploadByteArray(array<Byte>[]()[][], String)
Upload an array of bytes to the FTP server in the current working directory.
(Inherited from FTPConnection.)
Public methodUploadByteArray(array<Byte>[]()[][], String, Boolean)
Upload data to the FTP server in the current working directory. Allows appending if current file exists.
(Inherited from FTPConnection.)
Public methodUploadFile(String, String)
Upload a local file to the FTP server in the current working directory.
(Inherited from FTPConnection.)
Public methodUploadFile(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.)
Public methodUploadMultiple(String, FileFilter)
Put multiple files from the specified local directory into the current remote directory.
Public methodUploadMultiple(String, String)
Put multiple files from the specified local directory into the current remote directory.
Public methodUploadMultiple(String, String, FileFilter, Boolean)
Put multiple files from the specified local directory into the specified remote directory.
Public methodUploadMultiple(String, String, String, Boolean)
Put multiple files from the specified local directory into the specified remote directory.
Public methodUploadStream(Stream, String)
Upload a stream of data to the FTP server in the current working directory.
(Inherited from FTPConnection.)
Public methodUploadStream(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

  NameDescription
Protected fieldaccountInfoStr
Account information string, for use in FTP/FTPS with the ACCT command.
(Inherited from FTPConnection.)
Protected fieldareEventsEnabled
Determines if events will be fired.
(Inherited from FTPConnection.)
Protected fieldclientLock
Used for locking connection.
(Inherited from FTPConnection.)
Protected fieldfileTransferType
Record of the transfer type - make the default ASCII.
(Inherited from FTPConnection.)
Protected fieldftpClient
Instance of FTPClient.
(Inherited from FTPConnection.)
Protected fieldftpType
Protocol used.
(Inherited from FTPConnection.)
Protected fieldguiControl
Reference to the main window.
(Inherited from FTPConnection.)
Protected fieldhaveQueriedForControl
Flag used to remember whether or not we've tried to find the main window yet.
(Inherited from FTPConnection.)
Protected fieldisTransferringData
Determines if events will be fired.
(Inherited from FTPConnection.)
Protected fieldlastTransferCancel
Flag indicating that the most recent transfer-operation was cancelled
(Inherited from FTPConnection.)
Protected fieldlocalDir
Current local working directory.
(Inherited from FTPConnection.)
Protected fieldloginPassword
Password to log in with.
(Inherited from FTPConnection.)
Protected fieldloginUserName
User-name to log in with.
(Inherited from FTPConnection.)
Protected fieldremoteDir
Current remote working directory.
(Inherited from FTPConnection.)
Protected fielduseAutoFeatures
Determines if the components will automatically send the FEAT command after logging in.
(Inherited from FTPConnection.)
Protected fielduseAutoLogin
Determines if the components will automatically log in upon connection.
(Inherited from FTPConnection.)
Protected fielduseGuiThread
Flag indicating whether or not event-handlers will run on the GUI thread if one is available.
(Inherited from FTPConnection.)

Properties

  NameDescription
Public propertyAccountInfo
Account information string.
(Inherited from FTPConnection.)
Protected propertyActiveClient
Reference to the currently active IFileTransferClient.
(Inherited from FTPConnection.)
Public propertyActivePortRange
Specifies the range of ports to be used for data-channels in active mode.
(Inherited from FTPConnection.)
Public propertyAutoFeatures
Determines if the component will automatically send the FEAT command.
(Inherited from FTPConnection.)
Public propertyAutoLogin
Determines if the component will automatically log in upon connection.
(Inherited from FTPConnection.)
Public propertyAutoPassiveIPSubstitution
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.)
Public propertyAutoSecure
Determines if the component will automatically switch to SSL/TLS upon connection when using FTPS.
Public propertyBuildTimestamp
The assembly's build timestamp.
(Inherited from FTPConnection.)
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyCipherSuites
Get/sets the cipher-suites permissible during establishment of a secure connection.
Public propertyClientCertificate
The certificate to be presented to the server.
Public propertyCloseStreamsAfterTransfer
Determines if transfer-methods taking Streams as arguments should close the stream once the transfer is completed.
(Inherited from FTPConnection.)
Public propertyCommandEncoding
The character-encoding to use for FTP control commands and when dealing with file- and directory-paths.
(Inherited from FTPConnection.)
Public propertyConnectMode
The connection-mode (passive or active) of data-channels.
(Inherited from FTPConnection.)
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyDataEncoding
The character-encoding to use for transferring data in ASCII mode.
(Inherited from FTPConnection.)
Public propertyDeleteOnFailure
Controls whether or not a file is deleted when a failure occurs.
(Inherited from FTPConnection.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyDetectTransferMode
Determines whether the transfer mode in operations involving multiple files is automatically changed between ASCII and binary as appropriate.
Public propertyDirectoryEmptyMessages
Holds fragments of server messages that indicate a directory is empty.
(Inherited from FTPConnection.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyEventsEnabled
Determines whether or not events are currently enabled.
(Inherited from FTPConnection.)
Public propertyFileInfoParser
Override the chosen file factory with a user created one - meaning that a specific parser has been selected
(Inherited from FTPConnection.)
Public propertyFileNotFoundMessages
Holds fragments of server messages that indicate a file was not found
(Inherited from FTPConnection.)
Public propertyFilePathEncoding Obsolete.
The character-encoding to use when dealing with file- and directory-paths.
(Inherited from FTPConnection.)
Public propertyIsConnected
Indicates whether the FTP client is currently connected with the server.
(Inherited from FTPConnection.)
Public propertyIsControlChannelSecure
Indicates whether the control channel is currently secure.
Public propertyIsTransferring
Indicates whether or not a synchronous or asynchronous transfer is currently under way.
(Overrides FTPConnection..::..IsTransferring.)
Public propertyLastTransferCancelled
Indicates whether or not the most recent transfer was cancelled.
(Inherited from FTPConnection.)
Public propertyLastValidReply
The latest valid reply from the server.
(Inherited from FTPConnection.)
Public propertyLicenseKey
The license key string.
Public propertyLicenseOwner
The license owner string.
Public propertyLocalDirectory
The working directory on the local file-system into which files are downloaded.
(Inherited from FTPConnection.)
Public propertyName
Name of this component.
(Inherited from FTPConnection.)
Public propertyParentControl
Reference to Windows Forms controls (if available).
(Inherited from FTPConnection.)
Public propertyParsingCulture
The culture for parsing file listings.
(Inherited from FTPConnection.)
Public propertyPassword
Password of account on the server.
(Inherited from FTPConnection.)
Public propertyProtocol (Inherited from FTPConnection.)
Public propertyPublicIPAddress
IP address of the client as the server sees it.
(Inherited from FTPConnection.)
Public propertySecureFTPType
Type of secure FTP to use.
Public propertyServerAddress
The domain-name or IP address of the FTP server.
(Inherited from FTPConnection.)
Public propertyServerCertificate
The certificate presented by the server.
Public propertyServerCommonName
The name to be used when performing a name-check during the validation of the server certificate.
Public propertyServerCompatibility
Controls various server security compatibility features.
Public propertyServerDirectory
The initial/current working directory on the server.
(Inherited from FTPConnection.)
Public propertyServerPort
The port on the server to which to connect the control-channel.
(Inherited from FTPConnection.)
Public propertyServerValidation
Method by which the server's certificate is validated.
Public propertyShowHiddenFiles
Include hidden files in operations that involve listing of directories, and if supported by the server (FTP and FTPS).
(Inherited from FTPConnection.)
Public propertySite (Inherited from FTPConnection.)
Public propertySocksProxySettings
Settings for SOCKS proxy.
Public propertySSLVersion
SSL/TLS version to use.
Public propertyStrictReturnCodes
Controls whether or not checking of return codes is strict.
(Inherited from FTPConnection.)
Public propertySynchronizePassiveConnections
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.)
Public propertyTimeDifference
[FTP/FTPS Only] Time difference between server and client (relative to client).
(Inherited from FTPConnection.)
Public propertyTimeIncludesSeconds
[FTP/FTPS Only] Indicates whether seconds were included in the most recent directoy listing.
(Inherited from FTPConnection.)
Public propertyTimeout
TCP timeout (in milliseconds) of the underlying sockets (0 means none).
(Inherited from FTPConnection.)
Public propertyTransferBufferSize
The size of the buffers used in writing to and reading from the data-sockets.
(Inherited from FTPConnection.)
Public propertyTransferCompleteMessages
Holds fragments of server messages that indicate a transfer completed.
(Inherited from FTPConnection.)
Public propertyTransferNotifyInterval
The number of bytes transferred between each notification of the BytesTransferred event.
(Inherited from FTPConnection.)
Public propertyTransferNotifyListings
By default the BytesTransferred event is not triggered during directory listings - this property can be used to enable this behaviour.
(Inherited from FTPConnection.)
Public propertyTransferType
The current file transfer type (BINARY or ASCII).
(Inherited from FTPConnection.)
Public propertyUseGuiThreadIfAvailable
Determines whether or not event-handlers will be run on the GUI thread if one is available.
(Inherited from FTPConnection.)
Public propertyUserName
User-name of account on the server.
(Inherited from FTPConnection.)
Public propertyVersion
The version of the assembly.
(Inherited from FTPConnection.)
Public propertyWelcomeMessage
Server's welcome message.
(Inherited from FTPConnection.)
Public propertyWorkingDirectory Obsolete.
The current working directory on the server.
(Inherited from FTPConnection.)

Events

  NameDescription
Public eventBytesTransferred
Occurs every time a specified number of bytes of data have been transferred.
(Inherited from FTPConnection.)
Public eventClosed
Occurs when the component has closed its connection to the server.
(Inherited from FTPConnection.)
Public eventClosing
Occurs when the component is about to close its connection to the server.
(Inherited from FTPConnection.)
Public eventCommandSent
Occurs when a command is sent to the server.
(Inherited from FTPConnection.)
Public eventConnected
Occurs when the component has connected to the server.
(Inherited from FTPConnection.)
Public eventConnecting
Occurs when the component is connecting to the server.
(Inherited from FTPConnection.)
Public eventCreatedDirectory
Occurs when a local directory has been created on the server.
(Inherited from FTPConnection.)
Public eventCreatingDirectory
Occurs when a directory is about to be created on the server.
(Inherited from FTPConnection.)
Public eventDeleted
Occurs when a file has been deleted from the server.
(Inherited from FTPConnection.)
Public eventDeletedDirectory
Occurs when a local directory has been deleted on the server.
(Inherited from FTPConnection.)
Public eventDeleting
Occurs when a file is about to be deleted from the server.
(Inherited from FTPConnection.)
Public eventDeletingDirectory
Occurs when a directory is about to be deleted on the server.
(Inherited from FTPConnection.)
Public eventDirectoryChanged Obsolete.
Occurs when the server directory has been changed.
(Inherited from FTPConnection.)
Public eventDirectoryChanging Obsolete.
Occurs when the server directory is about to be changed.
(Inherited from FTPConnection.)
Public eventDirectoryListed
Occurs when a directory listing operations is completed.
(Inherited from FTPConnection.)
Public eventDirectoryListing
Occurs when a directory listing operations is commenced.
(Inherited from FTPConnection.)
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
Public eventDownloaded
Occurs when a file has been downloaded from the server.
(Inherited from FTPConnection.)
Public eventDownloading
Occurs when a file is about to be downloaded from the server.
(Inherited from FTPConnection.)
Public eventError
Occurs when an exception is thrown during an asynchronous operation.
Public eventLocalDirectoryChanged
Occurs when the local directory has been changed.
(Inherited from FTPConnection.)
Public eventLocalDirectoryChanging
Occurs when the local directory is about to be changed.
(Inherited from FTPConnection.)
Public eventLoggedIn
Occurs when the component has logged in.
(Inherited from FTPConnection.)
Public eventLoggingIn
Occurs when the component is about to log in.
(Inherited from FTPConnection.)
Public eventPropertyChanged
Occurs when a property is changed.
(Inherited from FTPConnection.)
Public eventRenamedFile
Occurs when a remote file has been renamed.
(Inherited from FTPConnection.)
Public eventRenamingFile
Occurs when a remote file is about to be renamed.
(Inherited from FTPConnection.)
Public eventReplyReceived
Occurs when a reply is received from the server.
(Inherited from FTPConnection.)
Public eventSecuredConnection
Occurs when the component has secured the connection to the server.
Public eventSecuringConnection
Occurs when the component is securing the connection to the server.
Public eventServerDirectoryChanged
Occurs when the server directory has been changed.
(Inherited from FTPConnection.)
Public eventServerDirectoryChanging
Occurs when the server directory is about to be changed.
(Inherited from FTPConnection.)
Public eventServerValidate
Server validation event.
Public eventUploaded
Occurs when a file has been uploaded to the server.
(Inherited from FTPConnection.)
Public eventUploading
Occurs when a file is about to be uploaded to the server.
(Inherited from FTPConnection.)

See Also