The following tables list the members exposed by Ftp.

      Public Constructors

      NameDescription
      Public ConstructorsFtp ConstructorOverloaded. Initializes a new instance of the class.
      Top

      Public Properties

      NameDescription
      Public PropertiesAbortTimeoutGets or sets a value, in milliseconds, indicating after what period an FTP abort operation should timeout.
      Public PropertiesAsciiFileSearchConditionsGets or sets the list of ASCII search conditions.
      Public PropertiesStatic MemberBytesPerSecondUpdateIntervalGets or sets the number of milliseconds to update the BytesPerSecond property. The default value is 400 ms. (Inherited from FileSystem)
      Public PropertiesChangeDirectoryBeforeFileOperationGets or sets a boolean value indicating whether to force the Upload, Download and DeleteDirectory methods to change directory before transferring files.
      Public PropertiesChangeDirectoryBeforeListingGets or sets a boolean value indicating whether to force the multi-file operations like Upload, Download and DeleteDirectory methods to change directory before listing directory.
      Public PropertiesConfigGets or sets FTP object settings.
      Public PropertiesDataAddressGets or sets the IP address announced to the FTP server when establishing an active mode data transfer.
      Public PropertiesDataPortRangeGets or sets the local TCP port range used for data transfers. Please note that is usually only useful for active mode (see Passive), not in passive mode, where only the port range specified at the server is usually important. In passive mode, only set this property if you know precisely what you are doing, because setting it to a range that is too small or corresponds to the server range might often lead to inability to transfer many files!
      Public PropertiesDirectorySeparatorsOverridden. Gets an array containing the characters that are directory separators.
      Public PropertiesDownloadBufferSizeGets or sets the download buffer size in bytes. The range is from 1KB to 16MB. Default is 64KB.
      Public PropertiesEnabledFeaturesGets or sets the bit field specifying the enabled features.
      Public PropertiesEncodingGets or sets the Encoding used to encode and decode command parameters and server responses.
      Public PropertiesEncounteredFatalErrorGets a boolean value indicating whether the client object has encountered a fatal error.
      Public PropertiesFileInfoPartsToGetBeforeTransferringSpecifies which information of the source file will be obtained before transferring. (Inherited from FileSystem)
      Public PropertiesInvalidFileNameCharsGets or sets an array containing the characters that are not allowed in file or directory names, or null if this file system accepts all characters in file name. (Inherited from FileSystem)
      Public PropertiesInvalidFileNameCharsSubstitutionGets or sets the substitution character that will replace the invalid characters found in file or directory name while copying files from another file system. (Inherited from FileSystem)
      Public PropertiesInvalidPathCharsOverridden. Gets an array containing the characters that are not allowed in path names.
      Public PropertiesInvokeFromCurrentThreadsGets a value indicating whether to raise events from the current thread or to use a SynchronizationContext object available when an asynchronous operation was started. The default value is false. (Inherited from FileSystem)
      Public PropertiesIsAuthenticatedGets a value indicating whether the user is authenticated.
      Public PropertiesIsBusyGets a boolean value indicating whether there are any operations in progress.
      Public PropertiesIsConnectedGets a boolean value indicating whether the connection is established.
      Public PropertiesIsConnectionSecuredGets a boolean value indicating whether the current connection (if any) is secured with TLS/SSL layer.
      Public PropertiesKeepAliveDuringIdleIntervalGets or sets the length of the interval, in seconds, between NOOP commands sent by GetConnectionState while idle. Set to 0 to disable sending NOOP commands.
      Public PropertiesKeepAliveDuringTransferIntervalGets or sets the interval, in seconds, at which a NOOP command is sent on the command channel during a file transfer. The default value is 0 - NOOP commands are not sent during a file transfer.
      Public PropertiesLocalEndPointGets the local client EndPoint.
      Public PropertiesMaxDownloadSpeedGets or sets the maximum allowed download speed, in kilobytes. For unlimited speed, set this to zero.
      Public PropertiesMaxUploadSpeedGets or sets the maximum allowed upload speed, in kilobytes. For unlimited speed, set this to zero.
      Public PropertiesPassiveGets or sets a boolean value indicating if the FTP client should initiate the data connection rather than the FTP server.
      Public PropertiesPathNormalizationGets or sets a boolean value indicating whether to normalize path before any file or directory operation. The default value is true.
      Public PropertiesProgressIntervalGets or sets the length of the interval in milliseconds between the Progress events fired during transfer. The default value is 100 ms. (Inherited from FileSystem)
      Public PropertiesProxyGets or sets the proxy information to use for connecting and/or logging in through a proxy server.
      Public PropertiesReconnectionFailureDelayGets or sets the delay in milliseconds between failed login attempts for reconnection.
      Public PropertiesReconnectionMaxRetriesGets or sets the maximum number of retries for reconnection.
      Public PropertiesRemoteEndPointGets the remote server EndPoint.
      Public PropertiesRestoreFilePropertiesGets or sets a boolean value indicating whether to restore file properties including LastWriteTime and CreationTime after downloading or uploading if possible. (Inherited from FileSystem)
      Public PropertiesSecureDataTransfersGets or sets a value which specifies whether data transfers are secure.
      Public PropertiesServerNameGets the host name of the connected session, or null if not connected.
      Public PropertiesServerPortGets the server port of the connected session, or 0 if not connected.
      Public PropertiesServerTimeZoneOffsetThis value is used to synchronize the CreationTime and LastWriteTime of files after a transfer. The default value is TimeSpan.Zero. (Inherited from FileSystem)
      Public PropertiesServerTypeGets the detected server type.
      Public PropertiesStateGets the current state of the Ftp object.
      Public PropertiesSupportedFeaturesGets the bit field specifying the features supported by the server.
      Public PropertiesThreadIdGets the thread id. (Inherited from FileSystem)
      Public PropertiesTimeoutGets or sets a value, in milliseconds, indicating after what period an FTP operation (sending commands, waiting for responses or time between data buffer transfers) should timeout. Specify -1 or 0 to indicate that the request does not time out.
      Public PropertiesTraceListenerManagerGets or sets the TraceListenerManager object to which the log messages generated by this object are sent. If not set, the Default trace listener manager is used. If this property is set to null, all messages from this object wont be logged. (Inherited from FileSystem)
      Public PropertiesTraceSourceGets or sets the source object for all log messages generated by this object. If not set, the property returns the current object. (Inherited from FileSystem)
      Public PropertiesTransferModeGets or sets the data transfer mode.
      Public PropertiesTransferStateGets the current transfer state of the Ftp object.
      Public PropertiesTransferTypeGets or sets the data transfer type.
      Public PropertiesUniqueIdGets the unique object id. (Inherited from FileSystem)
      Public PropertiesUploadBufferSizeGets or sets the upload buffer size in bytes. The range is from 1KB to 16MB. Default is 64KB (4KB on .NET Compact Framework).
      Public PropertiesUserNameGets the user of the connected session, or null if not connected.
      Top

      Protected Properties

      NameDescription
      Protected PropertiesCanGetStreamForReadingOverridden. Returns a field indicating whether the system support getting stream for reading data from file. For internal uses only.
      Protected PropertiesCanGetStreamForWritingOverridden. Returns a field indicating whether the system support getting stream for writting data to file. For internal uses only.
      Top

      Public Fields

      NameDescription
      Public FieldsStatic MemberDefaultImplicitSslPortDefault FTP/Implicit SSL port 990.
      Public FieldsStatic MemberDefaultPortDefault FTP port (21).
      Top

      Public Methods

      NameDescription
      Public MethodsAppendFileOverloaded. Appends the content of the specified data stream to the file on the remote FTP server.
      Public MethodsAppendFileAsyncOverloaded. Appends the content of the data stream to the file on the server.
      Public MethodsAuthenticateOverloaded. Authenticates the user to the FTP server to which it is connected using the specified username and password.
      Public MethodsAuthenticateAsyncOverloaded. Begins an asynchronous operation to authenticate the user to the FTP server.
      Public MethodsStatic MemberCalculateTimeDiffCalculates the time difference between the source and the dest file systems. (Inherited from FileSystem)
      Public MethodsCancelOverloaded. Overridden. Cancels the current operation.
      Public MethodsClearCommandChannelClears the command channel after login to facilitate firewall NAT when connecting using a secure data channel. This method reverts the protected control connection back to plaintext connection.
      Public MethodsClearCommandChannelAsyncOverloaded. Begins an asynchronous operation to send CCC command to the server. Reverts the protected control connection back to plaintext connection.
      Public MethodsCombinePathCombines two path strings. (Inherited from FileSystem)
      Public MethodsConnectOverloaded. Connects to the FTP server.
      Public MethodsConnectAsyncOverloaded. Initiates an asynchronous operation to an FTP server.
      Public MethodsCopyFromCopies data in a stream to the specified destination file on this system. (Inherited from FileSystem)
      Public MethodsCopyFromAsyncAsynchronously copies data in a stream to the specified destination file on this system. (Inherited from FileSystem)
      Public MethodsStatic MemberCopyToCopies a file from this file system to another file system. (Inherited from FileSystem)
      Public MethodsStatic MemberCopyToAsyncAsynchronously copies a file from this file system to another file system. (Inherited from FileSystem)
      Public MethodsCreateDirectoryOverridden. Create a directory on the FTP server.
      Public MethodsCreateDirectoryAsyncBegins an asynchronous CreateDirectory operation. Creates an empty directory. (Inherited from FileSystem)
      Public MethodsCreateFileInfoOverloaded. Overridden. Creates a new instance of the FtpFileInfo class and set appropriate file information.
      Public MethodsDeleteDeletes files or directories and, if indicated, any subdirectories matching the specified search condition on the filesToDelete list. (Inherited from FileSystem)
      Public MethodsDeleteAsyncAsynchronously deletes files or directories and, if indicated, any subdirectories matching the specified search condition on the filesToDelete list. This method only deletes the items in the specified directory if the baseDirectoryPath parameter does not end with a directory separator (e.g. '/' or '\'). To remove the whole directory, you should add a directory separator character at the end of that parameter. (Inherited from FileSystem)
      Public MethodsDeleteDirectoryOverloaded. Overridden. Deletes an empty directory from the FTP server. To delete a directory containing files and subdirectories, use the DeleteDirectory method.
      Public MethodsDeleteDirectoryAsyncAsynchronously deletes the specified directory and, if indicated, any subdirectories and files in the directory. (Inherited from FileSystem)
      Public MethodsDeleteFileOverloaded. Overridden. Deletes the specified file on the remote FTP server.
      Public MethodsDeleteFileAsyncAsynchronously deletes the specified file. (Inherited from FileSystem)
      Public MethodsDirectoryExistsOverridden. Checks whether the specified directory exists on the server. Not all FTP servers support this!
      Public MethodsDirectoryExistsAsyncAsynchronously detects whether the specified directory exists on the file system. (Inherited from FileSystem)
      Public MethodsDisconnectDisconnects the FTP client from the FTP server to which it is connected.
      Public MethodsDisconnectAsyncOverloaded. Begins an asynchronous operation to inform the server that the connection is about to close and terminates the connection.
      Public MethodsDisposeReleases all used resources. (Inherited from FileSystem)
      Public MethodsDownloadOverloaded. Downloads the content of the specified remote file or directory to the destination directory using multiple threads.
      Public MethodsDownloadAsyncOverloaded. Asynchronously downloads files from the specified remote directory to the local directory. This method only downloads the items in the specified directory if the remotePath parameter does not end with a directory separator (e.g. '/'). To also create the directory in the destination, add a directory separator character at the end of that parameter.
      Public MethodsDownloadFileOverloaded. Download a file from an the server, overriding it if it already exists.
      Public MethodsDownloadFileAsyncOverloaded. Downloads the remote file to the data stream.
      Public MethodsEnsuresDirectoryCreatedEnsures the specified directory exists on the file system. If the specified directory does not exist, a new one is to be created. (Inherited from FileSystem)
      Public MethodsFileExistsOverloaded. Overridden. Checks whether the specified file exists on the server.
      Public MethodsFileExistsAsyncAsynchronous detects whether the specified file exists on the file system. (Inherited from FileSystem)
      Public MethodsFlushReads and returns control connection data, if available.
      Public MethodsFlushAsyncOverloaded. Begins an asynchronous operation to reads and returns control connection data, if available.
      Public MethodsStatic MemberGetCommonChecksumAlgorithmsGets checksum algorithms that both file system have in common. (Inherited from FileSystem)
      Public MethodsGetConnectionStateChecks to see if the current connection is still active and returns error if any.
      Public MethodsGetCurrentDirectoryOverridden. Retrieves the current working directory of the FTP server.
      Public MethodsGetCurrentDirectoryAsyncAsynchronously gets the current working directory of the file system. (Inherited from FileSystem)
      Public MethodsGetDirectoryNameReturns the directory information for the specified path string. (Inherited from FileSystem)
      Public MethodsGetDirectorySizeReturns total size of the specified directories. (Inherited from FileSystem)
      Public MethodsGetDirectorySizeAsyncAsynchronously calculates total size of the specified directory. (Inherited from FileSystem)
      Public MethodsGetDownloadStreamOverloaded. Retrieves a direct access to the read-only data stream being received.
      Public MethodsGetDownloadStreamAsyncOverloaded. Asynchronously returns a Stream for reading data from the remote file.
      Public MethodsGetFileChecksumReturns the checksum of the specified file. (Inherited from FileSystem)
      Public MethodsGetFileChecksumAsyncBegins an asynchronous GetFileChecksum operation. Retrieves the checksum of the specified file. (Inherited from FileSystem)
      Public MethodsGetFileLengthOverridden. Gets the size of the specified remote file.
      Public MethodsGetFileLengthAsyncAsynchronously retrieves the size of the specified file. (Inherited from FileSystem)
      Public MethodsGetFileNameReturns the file name and extension of the specified path string. (Inherited from FileSystem)
      Public MethodsGetFullPathReturns a full path of the specified path. (Inherited from FileSystem)
      Public MethodsGetItemInfoOverridden. Returns an FtpFileInfo object containing information of the specified file.
      Public MethodsGetItemInfoAsyncAsynchronously retrieves a FileInfoBase containing the information about the specified file or directory. (Inherited from FileSystem)
      Public MethodsGetLastWriteTimeOverridden. Returns the date and time the specified remote file or directory was last written to. Some servers return times in their local time zones, some use GMT and some do not support this feature.
      Public MethodsGetLastWriteTimeAsyncAsynchronous retrieves the modification date and time of the specified file. (Inherited from FileSystem)
      Public MethodsGetServerTimeDifferenceReturns the time difference between the client and server.
      Public MethodsGetServerTimeDifferenceAsyncOverloaded. Initiates an asynchronous operation to get the time difference between the client and server. Not all FTP servers support this!
      Public MethodsGetSupportedChecksumTypesOverridden. Returns checksum types supported by the server.
      Public MethodsGetSystemNameReturns the name of the remote OS.
      Public MethodsGetSystemNameAsyncOverloaded. Returns the name of the remote OS.
      Public MethodsGetUploadStreamOverloaded. Retrieves a direct access to the write-only data stream to send to.
      Public MethodsGetUploadStreamAsyncOverloaded. Begins an asynchronous operation to return a Stream for writing data to the remote file.
      Public MethodsIsCancelingReturns a boolean value indicating whether user has called the Cancel method. (Inherited from FileSystem)
      Public MethodsIsFatalErrorReturns a boolean value indicating whether the specified error indicates that the client should reconnect to the server.
      Public MethodsIsPathRootedGets a value indicating whether the specified path string contains absolute or relative path information. (Inherited from FileSystem)
      Public MethodsKeepAliveSends a NOOP command to the server to keep the connection alive. Some servers ignore the NOOP command.
      Public MethodsKeepAliveAsyncOverloaded. Begins an asynchronous operation to send a command or data packet to the server to keep the connection alive.
      Public MethodsListDirectoryOverloaded. Overridden. Lists all files and subdirectories in the current working directory.
      Public MethodsListDirectoryAsyncAsynchronously retrieves the list of files and directories in the specified directory. (Inherited from FileSystem)
      Public MethodsListNameOverloaded. Overridden. Returns a list of file and directory names in the current working directory. Using ListDirectory is a better choice in most cases.
      Public MethodsListNameAsyncBegins an asynchronous ListName operation. Retrieves the list of file and directory names in the current directory. (Inherited from FileSystem)
      Public MethodsListRawNameOverloaded. Retrieves an unprocessed, clear text list representing the entire contents of the current working directory as sent by the FTP server. Using ListDirectory is a better choice in most cases.
      Public MethodsListRawNameAsyncOverloaded. Begins an asynchronous ListRawName operation. Retrieves the list of files and directories in the specified directory using a raw text format.
      Public MethodsMoveMoves files that match the search condition specified in the options parameter from the specified directory to the destination directory using multiple threads. This method only moves the items of the specified directory if the sourcePath parameter does not end with a directory separator (e.g. '/' or '\'). To move the whole directory, use the Rename method instead. (Inherited from FileSystem)
      Public MethodsMoveAsyncAsynchronously moves files that match the search condition specified in the options parameter from the specified directory to the destination directory on this file system. This method only moves the items of the specified directory if the sourcePath parameter does not end with a directory separator (e.g. '/' or '\'). To move the whole directory, use the Rename method instead. (Inherited from FileSystem)
      Public MethodsMultiPartDownloadOverloaded. Downloads a file on the server and writes to the specified local file using multiple threads.
      Public MethodsNormalizePathNormalizes a path. This method normalizes path like "\my folder\\my sub folder/sub folder/\my file" to "/my folder/my sub folder/sub folder/my file" if directory separator character is '/'. (Inherited from FileSystem)
      Public MethodsQuickSynchronizeSynchronizes the specified local directory with the specified source directory with the specified options. (Inherited from FileSystem)
      Public MethodsQuickSynchronizeAsyncInitiates an asynchronous operation to synchronize contents of a source directory and a local directory. (Inherited from FileSystem)
      Public MethodsReadResponseReturns the response of the FTP server to the command that was sent previously.
      Public MethodsReadResponseAsyncOverloaded. Begins an asynchronous operation to return the server response.
      Public MethodsReinitializeTerminates the USER session and purge all account information. The session will be reset to the default settings and the connection is left open.
      Public MethodsReinitializeAsyncOverloaded. Initiates an asynchronous operation to terminate the USER session and purge all account information. The session will be reset to the default settings and the connection is left open.
      Public MethodsRemoteCopyCopies a file on this FTP server to another server specified in the destinationFtpServer parameter using direct server-to-server transfer, also known as FXP.
      Public MethodsRemoteCopyAsyncOverloaded. Starts an asynchronous copy a file on this FTP server to another server specified in the destinationFtpServer parameter using direct server-to-server transfer, also known as FXP.
      Public MethodsRenameOverridden. Renames a file or directory on the FTP server.
      Public MethodsRenameAsyncBegins an asynchronous Rename operation. Renames a file or directory on the file system. (Inherited from FileSystem)
      Public MethodsResumeDownloadFileOverloaded. Resumes download the content of the remote file to the previously interrupted local file.
      Public MethodsResumeDownloadFileAsyncOverloaded. Resumes download the content of the data stream to the previously interrupted remote file.
      Public MethodsResumeUploadFileOverloaded. Resumes uploading the content of the data stream to the previously interrupted remote file.
      Public MethodsResumeUploadFileAsyncOverloaded. Initiates an asynchronous operation to resume uploading the content of the data stream to the previously interrupted remote file.
      Public MethodsSearchSearches for files and directories that match the specified search pattern, if specified, in the directoryPath. (Inherited from FileSystem)
      Public MethodsSearchAsyncSearches for files and directories that match the specified search conditions. (Inherited from FileSystem)
      Public MethodsSendCommandSends a custom command to the FTP server.
      Public MethodsSendCommandAsyncOverloaded. Begins an asynchronous operation to execute a command on the FTP server.
      Public MethodsSetActiveTransferTypeSets active transfer type.
      Public MethodsSetCurrentDirectoryOverridden. Changes the current folder of the FTP server.
      Public MethodsSetCurrentDirectoryAsyncBegins an asynchronous SetCurrentDirectory operation. (Inherited from FileSystem)
      Public MethodsSetFilePermissionsOverloaded. Sets the permissions of the specified remote file. Not all FTP servers support this operation.
      Public MethodsSetFilePermissionsAsyncOverloaded. Initiates an asynchronous operation to set the permissions of the specified remote file. Not all FTP servers support this!
      Public MethodsSetLastWriteTimeOverridden. Sets the date and time at which the specified file was last written.Some servers do not support this feature.
      Public MethodsSetLastWriteTimeAsyncBegins an asynchronous SetLastWriteTime operation. Sets the modification date and time of the specified file. (Inherited from FileSystem)
      Public MethodsSetMultipleFilesPermissionsOverloaded. Sets the permissions of the specified remote files. Not all FTP servers support this operation.
      Public MethodsSetMultipleFilesPermissionsAsyncOverloaded. Initiates an asynchronous operation to set the permissions of the specified remote files. Not all FTP servers support this!
      Public MethodsSetSocketFactorySets the socket factory to be used to create communication sockets.
      Public MethodsSiteExecutes site-specific command and returns the response.
      Public MethodsSiteAsyncOverloaded. Executes site-specific command and returns the response.
      Public MethodsToStringOverridden. Returns a string representation of this object.
      Public MethodsStatic MemberTransferFilesTransfers files from the specified source file system to the specified destination file system. (Inherited from FileSystem)
      Public MethodsStatic MemberTransferFilesAsyncAsynchronously transfers files from the specified source file system to the specified destination file system. (Inherited from FileSystem)
      Public MethodsUpgradeConnectionSecures the connection with TLS/SSL.
      Public MethodsUpgradeConnectionAsyncOverloaded. Begins an asynchronous operation to secures the connection with TLS/SSL using the specified upgrade request type and security parameters.
      Public MethodsUploadOverloaded. Uploads files from the specified source directory on the specified source file system to the specified remote directory using multiple threads.
      Public MethodsUploadAsyncOverloaded. Asynchronously uploads files from the specified local directory to the remote directory. This method only uploads the items in the specified directory if the localPath parameter does not end with a directory separator (e.g. '\' or '/'). To also create the directory in the destination, add a directory separator character at the end of that parameter.
      Public MethodsUploadFileOverloaded. Uploads from the current position in the specified source stream and writes to the destination file on the server.
      Public MethodsUploadFileAsyncOverloaded. Begins an asynchronous operation to upload the content of the data stream to the file on the server.
      Public MethodsUploadUniqueFileOverloaded. Uploads the data from the specified Stream to the FTP server and stores it using a unique filename. Many servers do not support this feature, and many servers support this incorrectly, such as MS FTP.
      Public MethodsUploadUniqueFileAsyncOverloaded. Begins an asynchronous operation to upload the content of the data stream to the file with unique pathname on the server.
      Top

      Protected Methods

      NameDescription
      Protected MethodsDisposeOverridden. Releases the unmanaged resources used by the Ftp and optionally releases the managed resources.
      Protected MethodsFinalizeOverridden. Finalizer. Called by garbage collector during object destruction.
      Protected MethodsGetFileChecksumSyncOverridden. Returns the calculated checksum of the specified type.
      Protected MethodsGetItemInfoPartsBeforeTransferringOverridden. Indicates whether the file system should obtains information of the source files before transferring.
      Virtual Protected MethodsOnAppendFileCompletedRaises the AppendFileCompleted event.
      Virtual Protected MethodsOnAuthenticateCompletedRaises the AuthenticateCompleted event.
      Virtual Protected MethodsOnCertificateReceivedRaises the CertificateReceived event.
      Virtual Protected MethodsOnCertificateRequiredRaises the CertificateRequired event.
      Virtual Protected MethodsOnClearCommandChannelCompletedRaises the ClearCommandChannelCompleted event.
      Virtual Protected MethodsOnCommandResponseRaises the CommandResponse event.
      Virtual Protected MethodsOnConnectCompletedRaises the ConnectCompleted event.
      Protected MethodsOnCopyFromCompletedRaises the CopyFromCompleted event. (Inherited from FileSystem)
      Protected MethodsOnCopyToCompletedRaises the CopyToCompleted event. (Inherited from FileSystem)
      Protected MethodsOnCreateDirectoryCompletedRaises the CreateDirectoryCompleted event. (Inherited from FileSystem)
      Protected MethodsOnDeleteCompletedRaises the DeleteCompleted event. (Inherited from FileSystem)
      Protected MethodsOnDeleteDirectoryCompletedRaises the DeleteDirectoryCompleted event. (Inherited from FileSystem)
      Protected MethodsOnDeleteFileCompletedRaises the DeleteFileCompleted event. (Inherited from FileSystem)
      Protected MethodsOnDirectoryExistsCompletedRaises the DirectoryExistsCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnDisconnectCompletedRaises the DisconnectCompleted event.
      Virtual Protected MethodsOnDownloadCompletedRaises the DownloadCompleted event.
      Virtual Protected MethodsOnDownloadFileCompletedRaises the DownloadFileCompleted event.
      Protected MethodsOnFileExistsCompletedRaises the FileExistsCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnFlushCompletedRaises the FlushCompleted event.
      Protected MethodsOnGetCurrentDirectoryCompletedRaises the GetCurrentDirectoryCompleted event. (Inherited from FileSystem)
      Protected MethodsOnGetDirectorySizeCompletedRaises the GetDirectorySizeCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnGetDownloadStreamCompletedRaises the GetDownloadStreamCompleted event.
      Protected MethodsOnGetFileChecksumCompletedRaises the GetFileChecksumCompleted event. (Inherited from FileSystem)
      Protected MethodsOnGetFileLengthCompletedRaises the GetFileLengthCompleted event. (Inherited from FileSystem)
      Protected MethodsOnGetItemInfoCompletedRaises the GetItemInfoCompleted event. (Inherited from FileSystem)
      Protected MethodsOnGetLastWriteTimeCompletedRaises the GetLastWriteTimeCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnGetServerTimeDifferenceCompletedRaises the GetServerTimeDifferenceCompleted event.
      Virtual Protected MethodsOnGetSystemNameCompletedRaises the GetSystemNameCompleted event.
      Virtual Protected MethodsOnGetUploadStreamCompletedRaises the GetUploadStreamCompleted event.
      Virtual Protected MethodsOnKeepAliveCompletedRaises the KeepAliveCompleted event.
      Protected MethodsOnListDirectoryCompletedRaises the ListDirectoryCompleted event. (Inherited from FileSystem)
      Protected MethodsOnListNameCompletedRaises the ListNameCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnListProgressRaises the ListProgress event.
      Virtual Protected MethodsOnListRawNameCompletedRaises the ListRawNameCompleted event.
      Protected MethodsOnMoveFilesCompletedRaises the MoveCompleted event. (Inherited from FileSystem)
      Protected MethodsOnProgressRaises the Progress event. (Inherited from FileSystem)
      Protected MethodsOnQuickSynchronizeCompletedRaises the QuickSynchronizeCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnReadResponseCompletedRaises the ReadResponseCompleted event.
      Virtual Protected MethodsOnReconnectedRaises the Reconnected event.
      Virtual Protected MethodsOnReconnectingRaises the Reconnecting event.
      Virtual Protected MethodsOnReconnectionErrorCheckingRaises the ReconnectionErrorChecking event.
      Virtual Protected MethodsOnReinitializeCompletedRaises the ReinitializeCompleted event.
      Virtual Protected MethodsOnRemoteCopyCompletedRaises the RemoteCopyCompleted event.
      Protected MethodsOnRenameCompletedRaises the RenameCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnResumeDownloadFileCompletedRaises the ResumeDownloadFileCompleted event.
      Virtual Protected MethodsOnResumeUploadFileCompletedRaises the ResumeUploadFileCompleted event.
      Protected MethodsOnSearchCompletedRaises the SearchCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnSendCommandCompletedRaises the SendCommandCompleted event.
      Protected MethodsOnSetCurrentDirectoryCompletedRaises the SetCurrentDirectoryCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnSetFilePermissionsCompletedRaises the SetFilePermissionsCompleted event.
      Protected MethodsOnSetLastWriteTimeCompletedRaises the SetLastWriteTimeCompleted event. (Inherited from FileSystem)
      Virtual Protected MethodsOnSetMultipleFilesPermissionsCompletedRaises the SetMultipleFilesPermissionsCompleted event.
      Virtual Protected MethodsOnSiteCompletedRaises the SiteCompleted event.
      Virtual Protected MethodsOnStateChangedRaises the StateChanged event.
      Protected MethodsOnThreadStateChangedRaises the ThreadStateChanged event. (Inherited from FileSystem)
      Protected MethodsOnTransferConfirmOverridden. Raises the TransferConfirm event.
      Virtual Protected MethodsOnUpgradeConnectionCompletedRaises the UpgradeConnectionCompleted event.
      Virtual Protected MethodsOnUploadCompletedRaises the UploadCompleted event.
      Virtual Protected MethodsOnUploadFileCompletedRaises the UploadFileCompleted event.
      Virtual Protected MethodsOnUploadUniqueFileCompletedRaises the UploadUniqueFileCompleted event.
      Protected MethodsRenameSyncOverridden. Moves a specified file to a new location, providing the option to specify a new file name.
      Top

      Public Events

      NameDescription
      Public EventsAppendFileCompletedOccurs when an asynchronous AppendFileAsync operation completes.
      Public EventsAuthenticateCompletedOccurs when an asynchronous AuthenticateAsync operation completes.
      Public EventsCertificateReceivedOccurs when an FTP server's certificate was received and verified.
      Public EventsCertificateRequiredOccurs when a client certificate is required by the FTP server, or the one provided was not accepted.
      Public EventsClearCommandChannelCompletedOccurs when an asynchronous ClearCommandChannelAsync operation completes.
      Public EventsCommandResponseOccurs when a command is sent to the server or a response is received.
      Public EventsConnectCompletedOccurs when an asynchronous ConnectAsync operation completes.
      Public EventsCopyFromCompletedOccurs when an asynchronous CopyFromAsync operation completes. (Inherited from FileSystem)
      Public EventsCopyToCompletedOccurs when an asynchronous CopyToAsync operation completes. (Inherited from FileSystem)
      Public EventsCreateDirectoryCompletedOccurs when an asynchronous CreateDirectoryAsync operation completes. (Inherited from FileSystem)
      Public EventsDeleteCompletedOccurs when an asynchronous DeleteAsync operation completes. (Inherited from FileSystem)
      Public EventsDeleteDirectoryCompletedOccurs when an asynchronous DeleteDirectoryAsync operation completes. (Inherited from FileSystem)
      Public EventsDeleteFileCompletedOccurs when an asynchronous DeleteFileAsync operation completes. (Inherited from FileSystem)
      Public EventsDirectoryExistsCompletedOccurs when an asynchronous DirectoryExistsAsync operation completes. (Inherited from FileSystem)
      Public EventsDisconnectCompletedOccurs when an asynchronous DisconnectAsync operation completes.
      Public EventsDownloadCompletedOccurs when an asynchronous DownloadAsync operation completes.
      Public EventsDownloadFileCompletedOccurs when an asynchronous DownloadFileAsync operation completes.
      Public EventsFileExistsCompletedOccurs when an asynchronous FileExistsAsync operation completes. (Inherited from FileSystem)
      Public EventsFlushCompletedOccurs when an asynchronous FlushAsync operation completes.
      Public EventsGetCurrentDirectoryCompletedOccurs when an asynchronous GetCurrentDirectoryAsync operation completes. (Inherited from FileSystem)
      Public EventsGetDirectorySizeCompletedOccurs when an asynchronous GetDirectorySizeAsync operation completes. (Inherited from FileSystem)
      Public EventsGetDownloadStreamCompletedOccurs when an asynchronous GetDownloadStreamAsync operation completes.
      Public EventsGetFileChecksumCompletedOccurs when an asynchronous GetFileChecksumAsync operation completes. (Inherited from FileSystem)
      Public EventsGetFileLengthCompletedOccurs when an asynchronous GetFileLengthAsync operation completes. (Inherited from FileSystem)
      Public EventsGetItemInfoCompletedOccurs when an asynchronous GetItemInfoAsync operation completes. (Inherited from FileSystem)
      Public EventsGetLastWriteTimeCompletedOccurs when an asynchronous GetLastWriteTimeAsync operation completes. (Inherited from FileSystem)
      Public EventsGetServerTimeDifferenceCompletedOccurs when an asynchronous GetServerTimeDifference operation completes.
      Public EventsGetSystemNameCompletedOccurs when an asynchronous GetSystemNameAsync operation completes.
      Public EventsGetUploadStreamCompletedOccurs when an asynchronous GetUploadStreamAsync operation completes.
      Public EventsKeepAliveCompletedOccurs when an asynchronous KeepAliveAsync operation completes.
      Public EventsListDirectoryCompletedOccurs when an asynchronous ListDirectoryAsync operation completes. (Inherited from FileSystem)
      Public EventsListItemReceivedOccurs when a file and directory listing item is received by the ListDirectory, ListRawName or ListName methods.
      Public EventsListNameCompletedOccurs when an asynchronous ListNameAsync operation completes. (Inherited from FileSystem)
      Public EventsListProgressOccurs when the state of the Ftp object is changed.
      Public EventsListRawNameCompletedOccurs when an asynchronous ListRawNameAsync operation completes.
      Public EventsMoveCompletedOccurs after a MoveAsync call has been completed. (Inherited from FileSystem)
      Public EventsProgressOccurs when a block of data is transferred, or a file operation is being or has been executed. (Inherited from FileSystem)
      Public EventsQuickSynchronizeCompletedOccurs when an asynchronous QuickSynchronizeAsync operation completes. (Inherited from FileSystem)
      Public EventsReadResponseCompletedOccurs when an asynchronous ReadResponseAsync operation completes.
      Public EventsReconnectedOccurs when the file system encountered an error and reconnected to the server successfully.
      Public EventsReconnectingOccurs when the file system has encountered an error and trying to reconnect to the server.
      Public EventsReconnectionErrorCheckingOccurs when the file system has encountered an error and needs to determine whether it should reconnect to the server.
      Public EventsReinitializeCompletedOccurs when an asynchronous ReinitializeAsync operation completes.
      Public EventsRemoteCopyCompletedOccurs when an asynchronous RemoteCopyAsync operation completes.
      Public EventsRenameCompletedOccurs when an asynchronous RenameAsync operation completes. (Inherited from FileSystem)
      Public EventsResumeDownloadFileCompletedOccurs when an asynchronous ResumeDownloadFileAsync operation completes.
      Public EventsResumeUploadFileCompletedOccurs when an asynchronous ResumeUploadFileAsync operation completes.
      Public EventsSearchCompletedOccurs when an asynchronous search operation completes. (Inherited from FileSystem)
      Public EventsSendCommandCompletedOccurs when an asynchronous SendCommandAsync operation completes.
      Public EventsSetCurrentDirectoryCompletedOccurs when an asynchronous SetCurrentDirectoryAsync operation completes. (Inherited from FileSystem)
      Public EventsSetFilePermissionsCompletedOccurs after a SetFilePermissionsAsync call has been completed.
      Public EventsSetLastWriteTimeCompletedOccurs when an asynchronous SetLastWriteTimeAsync operation completes. (Inherited from FileSystem)
      Public EventsSetMultipleFilesPermissionsCompletedOccurs after a SetMultipleFilesPermissionsAsync call has been completed.
      Public EventsSiteCompletedOccurs when an asynchronous SiteAsync operation completes.
      Public EventsStateChangedOccurs when the state of the Ftp object is changed.
      Public EventsThreadStateChangedOccurs when the state of the thread is changed while in a multi-thread file transfer. (Inherited from FileSystem)
      Public EventsTransferConfirmOccurs when the file system has detected an issue while transferring files such as existing file found, symlink detected or an error encountered. (Inherited from FileSystem)
      Public EventsUpgradeConnectionCompletedOccurs when an asynchronous UpgradeConnectionAsync operation completes.
      Public EventsUploadCompletedOccurs when an asynchronous UploadAsync operation completes.
      Public EventsUploadFileCompletedOccurs when an asynchronous UploadFileAsync operation completes.
      Public EventsUploadUniqueFileCompletedOccurs when an asynchronous UploadUniqueFileAsync operation completes.
      Top

      See Also