The Ftp type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkFtp
Initializes a new instance of the Ftp class.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAbort
Aborts the current operation.
Public methodSupported by the .NET Compact FrameworkAppendFile(Stream, String)
Appends the content of the data stream to the file on the server.
Public methodSupported by the .NET Compact FrameworkAppendFile(String, String)
Appends the content of the local file to the file on the server.
Public methodSupported by the .NET Compact FrameworkAppendFile(Stream, String, Int64)
Appends the content of the data stream to the file on the server.
Public methodSupported by the .NET Compact FrameworkAppendFile(String, String, Int64, Int64)
Appends the content of the local file to the file on the server.
Public methodSupported by the .NET Compact FrameworkBeginAppendFile(Stream, String, AsyncCallback, Object)
Begins asynchronous AppendFile operation. Appends the content of the data stream to the file on the server.
Public methodSupported by the .NET Compact FrameworkBeginAppendFile(String, String, AsyncCallback, Object)
Begins asynchronous AppendFile operation. Appends the content of the local file to the file on the server.
Public methodSupported by the .NET Compact FrameworkBeginAppendFile(Stream, String, Int64, AsyncCallback, Object)
Begins asynchronous AppendFile operation. Appends the content of the data stream to the file on the server.
Public methodSupported by the .NET Compact FrameworkBeginAppendFile(String, String, Int64, Int64, AsyncCallback, Object)
Begins asynchronous AppendFile operation. Appends the content of the local file to the file on the server.
Public methodStatic memberSupported by the .NET Compact FrameworkBeginCalculateLocalChecksum(FtpChecksumType, Stream, AsyncCallback, Object)
Begins asynchronous CalculateLocalChecksum operation. Calculates the checksum of the data in specified stream.
Public methodStatic memberSupported by the .NET Compact FrameworkBeginCalculateLocalChecksum(FtpChecksumType, String, AsyncCallback, Object)
Begins asynchronous CalculateLocalChecksum operation. Calculates the checksum for the specified local file.
Public methodStatic memberSupported by the .NET Compact FrameworkBeginCalculateLocalChecksum(FtpChecksumType, Stream, Int64, AsyncCallback, Object)
Begins asynchronous CalculateLocalChecksum operation. Calculates the checksum of the data in specified stream.
Public methodStatic memberSupported by the .NET Compact FrameworkBeginCalculateLocalChecksum(FtpChecksumType, String, Int32, Int64, AsyncCallback, Object)
Begins asynchronous CalculateLocalChecksum operation. Calculates the checksum for the specified local file.
Public methodSupported by the .NET Compact FrameworkBeginClearCommandChannel
Begins asynchronous ClearCommandChannel operation. Reverts the protected control connection back to plaintext connection.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the FTP server.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, SslMode, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the FTP server with the specified security. Use a port corresponding to the specified security mode.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the FTP server.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, SslMode, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the FTP server with the specified security.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, TlsParameters, FtpSecurity, AsyncCallback, Object) Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginCopyToAnotherServer
Begins asynchronous CopyToAnotherServer operation. Copies a file on this FTP server to another server using direct server-to-server transfer, also known as FXP.
Public methodSupported by the .NET Compact FrameworkBeginCreateDirectory
Begins asynchronous CreateDirectory operation. Creates a directory on the server.
Public methodSupported by the .NET Compact FrameworkBeginDelete(FileSet, AsyncCallback, Object)
Begins asynchronous Delete operation. Deletes the specified files and/or directories at the FTP server.
Public methodSupported by the .NET Compact FrameworkBeginDelete(String, TraversalMode, AsyncCallback, Object)
Begins asynchronous Delete operation. Deletes the specified files and/or directories at the FTP server.
Public methodSupported by the .NET Compact FrameworkBeginDeleteFile
Begins asynchronous DeleteFile operation. Deletes the file on the server.
Public methodSupported by the .NET Compact FrameworkBeginDirectoryExists
Begins asynchronous DirectoryExists operation. Detects whether the specified directory exists on the server. Not all FTP servers support this!
Public methodSupported by the .NET Compact FrameworkBeginDisconnect
Begins asynchronous Disconnect operation. Informs the server that the connection is about to close and terminates the connection.
Public methodSupported by the .NET Compact FrameworkBeginDownload(FileSet, String, TransferMethod, ActionOnExistingFiles, AsyncCallback, Object)
Begins asynchronous Download operation. Downloads the specified files and/or directories from the FTP server to the local directory.
Public methodSupported by the .NET Compact FrameworkBeginDownload(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles, AsyncCallback, Object)
Begins asynchronous Download operation. Downloads the specified file or directory hierarchy from the FTP server to the local directory. Accepts wildcards.
Public methodSupported by the .NET Compact FrameworkBeginFileExists
Begins asynchronous FileExists operation. Detects whether the specified file exists on the server. Not all FTP servers support this!
Public methodSupported by the .NET Compact FrameworkBeginGetCurrentDirectory
Begins asynchronous GetCurrentDirectory operation. Gets the absolute path of the current working directory on the remote server.
Public methodSupported by the .NET Compact FrameworkBeginGetDownloadStream
Begins asynchronous GetDownloadStream operation. Returns a Stream for reading data from the remote file.
Public methodSupported by the .NET Compact FrameworkBeginGetFile(String, Stream, AsyncCallback, Object)
Begins asynchronous GetFile operation. Downloads the remote file to the data stream.
Public methodSupported by the .NET Compact FrameworkBeginGetFile(String, String, AsyncCallback, Object)
Begins asynchronous GetFile operation. Downloads the remote file to the local file.
Public methodSupported by the .NET Compact FrameworkBeginGetFile(String, Stream, Int64, AsyncCallback, Object)
Begins asynchronous GetFile operation. Downloads the remote file to the data stream.
Public methodSupported by the .NET Compact FrameworkBeginGetFile(String, String, Int64, Int64, AsyncCallback, Object)
Begins asynchronous GetFile operation. Downloads the remote file to the local file.
Public methodSupported by the .NET Compact FrameworkBeginGetFileDateTime
Begins asynchronous GetFileDateTime operation. Returns the modification date and time of the specified remote file.
Public methodSupported by the .NET Compact FrameworkBeginGetFileLength
Begins asynchronous GetFileLength operation. Returns the size of the specified remote file.
Public methodSupported by the .NET Compact FrameworkBeginGetFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginGetChecksum(String, ChecksumAlgorithm, AsyncCallback, Object)
Begins asynchronous GetChecksum operation. Returns the checksum of the specified file on the server.
Public methodSupported by the .NET Compact FrameworkBeginGetChecksum(String, ChecksumAlgorithm, Int64, Int64, AsyncCallback, Object)
Begins asynchronous GetChecksum operation. Returns the checksum of the specified file on the server.
Public methodSupported by the .NET Compact FrameworkBeginGetItems(FileSet, AsyncCallback, Object)
Begins asynchronous GetItems operation. Returns parsed list of files and directories specified by the set.
Public methodSupported by the .NET Compact FrameworkBeginGetItems(String, TraversalMode, AsyncCallback, Object)
Begins asynchronous GetItems operation. Returns parsed list of files and directories.
Public methodSupported by the .NET Compact FrameworkBeginGetList(AsyncCallback, Object)
Begins asynchronous GetList operation. Returns parsed list of files and directories in the current server directory.
Public methodSupported by the .NET Compact FrameworkBeginGetList(String, AsyncCallback, Object)
Begins asynchronous GetList operation. Returns parsed list of files and directories.
Public methodSupported by the .NET Compact FrameworkBeginGetNameList(AsyncCallback, Object)
Begins asynchronous GetNameList operation. Retrieves the list of names in the current server directory.
Public methodSupported by the .NET Compact FrameworkBeginGetNameList(String, AsyncCallback, Object)
Begins asynchronous GetNameList operation. Retrieves the list of names.
Public methodSupported by the .NET Compact FrameworkBeginGetRawList(AsyncCallback, Object)
Begins asynchronous GetRawList operation. Retrieves the raw list of files and directories in the current server directory as received from the server.
Public methodSupported by the .NET Compact FrameworkBeginGetRawList(String, AsyncCallback, Object)
Begins asynchronous GetRawList operation. Retrieves the raw list of files and directories as received from the server.
Public methodSupported by the .NET Compact FrameworkBeginGetRawList(String, FtpListingType, AsyncCallback, Object)
Begins asynchronous GetRawList operation. Retrieves the raw list of files and directories as received from the server.
Public methodSupported by the .NET Compact FrameworkBeginGetRemoteChecksum(FtpChecksumType, String, AsyncCallback, Object)
Begins asynchronous GetRemoteChecksum operation. Returns the checksum of the specified file on the server.
Public methodSupported by the .NET Compact FrameworkBeginGetRemoteChecksum(FtpChecksumType, String, Int32, Int64, AsyncCallback, Object)
Begins asynchronous GetRemoteChecksum operation. Returns the checksum of the specified file on the server.
Public methodSupported by the .NET Compact FrameworkBeginGetSystemName
Begins asynchronous GetSystemName operation. Returns the name of the remote OS.
Public methodSupported by the .NET Compact FrameworkBeginGetUploadStream
Begins asynchronous GetUploadStream operation. Returns a Stream for writing data to the remote file.
Public methodSupported by the .NET Compact FrameworkBeginChangeDirectory
Begins asynchronous ChangeDirectory operation. Changes the current working directory on the server.
Public methodSupported by the .NET Compact FrameworkBeginKeepAlive
Begins asynchronous KeepAlive operation. Sends the NOOP command to the server to keep the connection alive.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, String, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the FTP server.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, String, String, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the FTP server.
Public methodSupported by the .NET Compact FrameworkBeginPutFile(Stream, String, AsyncCallback, Object)
Begins asynchronous PutFile operation. Uploads the content of the data stream to the file on the server, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkBeginPutFile(String, String, AsyncCallback, Object)
Begins asynchronous PutFile operation. Uploads the content of the local file to the file on the server, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkBeginPutFile(Stream, String, Int64, Int64, AsyncCallback, Object)
Begins asynchronous PutFile operation. Uploads the content of the data stream to the file on the server.
Public methodSupported by the .NET Compact FrameworkBeginPutFile(String, String, Int64, Int64, Int64, AsyncCallback, Object)
Begins asynchronous PutFile operation. Uploads the content of the local file to the file on the server.
Public methodSupported by the .NET Compact FrameworkBeginPutFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginPutUniqueFile(Stream, AsyncCallback, Object)
Begins asynchronous PutUniqueFile operation. Uploads the content of the stream to the file with unique pathname on the server.
Public methodSupported by the .NET Compact FrameworkBeginPutUniqueFile(String, AsyncCallback, Object)
Begins asynchronous PutUniqueFile operation. Uploads the content of the local file to the file with unique pathname on the server.
Public methodSupported by the .NET Compact FrameworkBeginReadResponse
Begins asynchronous ReadResponse operation. Returns the response of the FTP server to the command.
Public methodSupported by the .NET Compact FrameworkBeginReinitialize Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginRemoveDirectory
Begins asynchronous RemoveDirectory operation. Deletes an empty remote directory with the specified pathname.
Public methodSupported by the .NET Compact FrameworkBeginRename
Begins asynchronous Rename operation. Renames or moves a file or directory on the server.
Public methodSupported by the .NET Compact FrameworkBeginSecure(AsyncCallback, Object)
Begins asynchronous Secure operation. Secures the connection with TLS/SSL.
Public methodSupported by the .NET Compact FrameworkBeginSecure(TlsParameters, FtpSecureUpgradeType, AsyncCallback, Object) Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginSendCommand
Begins asynchronous SendCommand operation. Executes a command on the FTP server.
Public methodSupported by the .NET Compact FrameworkBeginSetFileDateTime
Begins asynchronous SetFileDateTime operation. Sets the modification date and time of the specified remote file. Not all FTP servers support this!
Public methodSupported by the .NET Compact FrameworkBeginSite
Begins asynchronous Site operation. Executes site-specific command and returns the response.
Public methodSupported by the .NET Compact FrameworkBeginUpload(FileSet, String, TransferMethod, ActionOnExistingFiles, AsyncCallback, Object)
Begins asynchronous Upload operation. Uploads the specified local files and/or directories to the directory on the FTP server.
Public methodSupported by the .NET Compact FrameworkBeginUpload(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles, AsyncCallback, Object)
Begins asynchronous Upload operation. Uploads the specified local file or directory hierarchy to the directory on the FTP server. Accept wildcards.
Public methodStatic memberSupported by the .NET Compact FrameworkCalculateLocalChecksum(FtpChecksumType, Stream)
Calculates the checksum of the data in specified stream.
Public methodStatic memberSupported by the .NET Compact FrameworkCalculateLocalChecksum(FtpChecksumType, String)
Calculates the checksum for the specified local file.
Public methodStatic memberSupported by the .NET Compact FrameworkCalculateLocalChecksum(FtpChecksumType, Stream, Int64)
Calculates the checksum of the data in specified stream.
Public methodStatic memberSupported by the .NET Compact FrameworkCalculateLocalChecksum(FtpChecksumType, String, Int32, Int64)
Calculates the checksum for the specified local file.
Public methodSupported by the .NET Compact FrameworkClearCommandChannel
Reverts the protected control connection back to plaintext connection.
Public methodSupported by the .NET Compact FrameworkConnect(String)
Connects to the FTP server.
Public methodSupported by the .NET Compact FrameworkConnect(String, SslMode)
Connects to the FTP server with the specified security. Use a port corresponding to the specified security mode.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32)
Connects to the FTP server.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32, SslMode)
Connects to the FTP server with the specified security.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32, TlsParameters, FtpSecurity) Obsolete.
Public methodSupported by the .NET Compact FrameworkCopyToAnotherServer
Copies a file on this FTP server to another server using direct server-to-server transfer, also known as FXP.
Public methodSupported by the .NET Compact FrameworkCreateDirectory
Creates a directory on the server.
Public methodSupported by the .NET Compact FrameworkDelete(FileSet)
Deletes the specified files and/or directories at the FTP server.
Public methodSupported by the .NET Compact FrameworkDelete(String, TraversalMode)
Deletes the specified files and/or directories at the FTP server.
Public methodSupported by the .NET Compact FrameworkDeleteFile
Deletes the file on the server.
Public methodSupported by the .NET Compact FrameworkDirectoryExists
Detects whether the specified directory exists on the server. Not all FTP servers support this!
Public methodSupported by the .NET Compact FrameworkDisconnect
Informs the server that the connection is about to close and terminates the connection.
Public methodSupported by the .NET Compact FrameworkDispose()()()()
Disposes the Ftp object and all the socket objects.
Protected methodSupported by the .NET Compact FrameworkDispose(Boolean)
Releases the unmanaged resources used by the Ftp and optionally releases the managed resources.
Public methodSupported by the .NET Compact FrameworkDownload(String, String)
Downloads the specified file or directory hierarchy from the FTP server to the local directory. Accepts wildcards.
Public methodSupported by the .NET Compact FrameworkDownload(FileSet, String)
Downloads the specified files and/or directories from the FTP server to the local directory.
Public methodSupported by the .NET Compact FrameworkDownload(String, String, TraversalMode)
Downloads the specified file or directory hierarchy from the FTP server to the local directory. Accepts wildcards.
Public methodSupported by the .NET Compact FrameworkDownload(FileSet, String, TransferMethod, ActionOnExistingFiles)
Downloads the specified files and/or directories from the FTP server to the local directory.
Public methodSupported by the .NET Compact FrameworkDownload(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles)
Downloads the specified file or directory hierarchy from the FTP server to the local directory. Accepts wildcards.
Public methodSupported by the .NET Compact FrameworkEndAppendFile
Ends an asynchronous BeginAppendFile operation.
Public methodStatic memberSupported by the .NET Compact FrameworkEndCalculateLocalChecksum
Ends an asynchronous BeginCalculateLocalChecksum operation.
Public methodSupported by the .NET Compact FrameworkEndClearCommandChannel
Ends an asynchronous BeginClearCommandChannel operation.
Public methodSupported by the .NET Compact FrameworkEndConnect
Ends an asynchronous BeginConnect operation.
Public methodSupported by the .NET Compact FrameworkEndCopyToAnotherServer
Ends an asynchronous BeginCopyToAnotherServer operation.
Public methodSupported by the .NET Compact FrameworkEndCreateDirectory
Ends an asynchronous BeginCreateDirectory operation.
Public methodSupported by the .NET Compact FrameworkEndDelete
Ends an asynchronous BeginDelete operation.
Public methodSupported by the .NET Compact FrameworkEndDeleteFile
Ends an asynchronous BeginDeleteFile operation.
Public methodSupported by the .NET Compact FrameworkEndDirectoryExists
Ends an asynchronous BeginDirectoryExists operation.
Public methodSupported by the .NET Compact FrameworkEndDisconnect
Ends an asynchronous BeginDisconnect operation.
Public methodSupported by the .NET Compact FrameworkEndDownload
Ends an asynchronous BeginDownload operation.
Public methodSupported by the .NET Compact FrameworkEndFileExists
Ends an asynchronous BeginFileExists operation.
Public methodSupported by the .NET Compact FrameworkEndGetCurrentDirectory
Ends an asynchronous BeginGetCurrentDirectory operation.
Public methodSupported by the .NET Compact FrameworkEndGetDownloadStream
Ends an asynchronous BeginGetDownloadStream operation.
Public methodSupported by the .NET Compact FrameworkEndGetFile
Ends an asynchronous BeginGetFile operation.
Public methodSupported by the .NET Compact FrameworkEndGetFileDateTime
Ends an asynchronous BeginGetFileDateTime operation.
Public methodSupported by the .NET Compact FrameworkEndGetFileLength
Ends an asynchronous BeginGetFileLength operation.
Public methodSupported by the .NET Compact FrameworkEndGetFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkEndGetChecksum
Ends an asynchronous BeginGetChecksum operation.
Public methodSupported by the .NET Compact FrameworkEndGetItems
Ends an asynchronous BeginGetItems operation.
Public methodSupported by the .NET Compact FrameworkEndGetList
Ends an asynchronous BeginGetList operation.
Public methodSupported by the .NET Compact FrameworkEndGetNameList
Ends an asynchronous BeginGetNameList operation.
Public methodSupported by the .NET Compact FrameworkEndGetRawList
Ends an asynchronous BeginGetRawList operation.
Public methodSupported by the .NET Compact FrameworkEndGetRemoteChecksum
Ends an asynchronous BeginGetRemoteChecksum operation.
Public methodSupported by the .NET Compact FrameworkEndGetSystemName
Ends an asynchronous BeginGetSystemName operation.
Public methodSupported by the .NET Compact FrameworkEndGetUploadStream
Ends an asynchronous BeginGetUploadStream operation.
Public methodSupported by the .NET Compact FrameworkEndChangeDirectory
Ends an asynchronous BeginChangeDirectory operation.
Public methodSupported by the .NET Compact FrameworkEndKeepAlive
Ends an asynchronous BeginKeepAlive operation.
Public methodSupported by the .NET Compact FrameworkEndLogin
Ends an asynchronous BeginLogin operation.
Public methodSupported by the .NET Compact FrameworkEndPutFile
Ends an asynchronous BeginPutFile operation.
Public methodSupported by the .NET Compact FrameworkEndPutFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkEndPutUniqueFile
Ends an asynchronous BeginPutUniqueFile operation.
Public methodSupported by the .NET Compact FrameworkEndReadResponse
Ends an asynchronous BeginReadResponse operation.
Public methodSupported by the .NET Compact FrameworkEndReinitialize Obsolete.
Public methodSupported by the .NET Compact FrameworkEndRemoveDirectory
Ends an asynchronous BeginRemoveDirectory operation.
Public methodSupported by the .NET Compact FrameworkEndRename
Ends an asynchronous BeginRename operation.
Public methodSupported by the .NET Compact FrameworkEndSecure
Ends an asynchronous BeginSecure operation.
Public methodSupported by the .NET Compact FrameworkEndSendCommand
Ends an asynchronous BeginSendCommand operation.
Public methodSupported by the .NET Compact FrameworkEndSetFileDateTime
Ends an asynchronous BeginSetFileDateTime operation.
Public methodSupported by the .NET Compact FrameworkEndSite
Ends an asynchronous BeginSite operation.
Public methodSupported by the .NET Compact FrameworkEndUpload
Ends an asynchronous BeginUpload operation.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkFileExists
Detects whether the specified file exists on the server. Not all FTP servers support this!
Protected methodSupported by the .NET Compact FrameworkFinalize
Finalizer. Called by garbage collector during object destruction.
(Overrides Object..::..Finalize()()()().)
Public methodSupported by the .NET Compact FrameworkFlush
Reads and returns control connection data, if available.
Public methodSupported by the .NET Compact FrameworkGetConnectionState
Checks whether the FTP session is still connected and returns its state.
Public methodSupported by the .NET Compact FrameworkGetCurrentDirectory
Gets the absolute path of the current working directory on the remote server.
Public methodSupported by the .NET Compact FrameworkGetDownloadStream(String)
Returns a Stream for reading data from the remote file.
Public methodSupported by the .NET Compact FrameworkGetDownloadStream(String, SeekOrigin, Int64)
Returns a Stream for reading data from the remote file.
Public methodSupported by the .NET Compact FrameworkGetFile(String, Stream)
Downloads the remote file to the data stream.
Public methodSupported by the .NET Compact FrameworkGetFile(String, String)
Downloads the remote file to the local file.
Public methodSupported by the .NET Compact FrameworkGetFile(String, Stream, Int64)
Downloads the remote file to the data stream.
Public methodSupported by the .NET Compact FrameworkGetFile(String, String, Int64, Int64)
Downloads the remote file to the local file.
Public methodSupported by the .NET Compact FrameworkGetFileDateTime
Returns the modification date and time of the specified remote file.
Public methodSupported by the .NET Compact FrameworkGetFileLength
Returns the size of the specified remote file.
Public methodSupported by the .NET Compact FrameworkGetFiles(String, String, FtpBatchTransferOptions) Obsolete.
Public methodSupported by the .NET Compact FrameworkGetFiles(String, String, FtpBatchTransferOptions, FtpActionOnExistingFiles) Obsolete.
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetChecksum(String, ChecksumAlgorithm)
Returns the checksum of the specified file on the server.
Public methodSupported by the .NET Compact FrameworkGetChecksum(String, ChecksumAlgorithm, Int64, Int64)
Returns the checksum of the specified file on the server.
Public methodSupported by the .NET Compact FrameworkGetItems(String)
Returns parsed list of files and directories. Matching directories are searched recursively.
Public methodSupported by the .NET Compact FrameworkGetItems(FileSet)
Returns parsed list of files and directories specified by the set.
Public methodSupported by the .NET Compact FrameworkGetItems(String, TraversalMode)
Returns parsed list of files and directories.
Public methodSupported by the .NET Compact FrameworkGetList()()()()
Returns parsed list of files and directories in the current server directory.
Public methodSupported by the .NET Compact FrameworkGetList(String)
Returns parsed list of files and directories.
Public methodSupported by the .NET Compact FrameworkGetNameList()()()()
Retrieves the list of names in the current server directory.
Public methodSupported by the .NET Compact FrameworkGetNameList(String)
Retrieves the list of names.
Public methodSupported by the .NET Compact FrameworkGetRawList()()()()
Retrieves the raw list of files and directories in the current server directory as received from the server.
Public methodSupported by the .NET Compact FrameworkGetRawList(String)
Retrieves the raw list of files and directories as received from the server.
Public methodSupported by the .NET Compact FrameworkGetRawList(String, FtpListingType)
Retrieves the raw list of files and directories as received from the server.
Public methodSupported by the .NET Compact FrameworkGetRemoteChecksum(FtpChecksumType, String)
Returns the checksum of the specified file on the server.
Public methodSupported by the .NET Compact FrameworkGetRemoteChecksum(FtpChecksumType, String, Int32, Int64)
Returns the checksum of the specified file on the server.
Public methodSupported by the .NET Compact FrameworkGetSupportedChecksumAlgorithms
Returns checksum algorithms supported by the server.
Public methodSupported by the .NET Compact FrameworkGetSupportedChecksumTypes
Returns checksum types supported by the server.
Public methodSupported by the .NET Compact FrameworkGetSystemName
Returns the name of the remote OS.
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetUploadStream(String)
Returns a Stream for writing data to the remote file.
Public methodSupported by the .NET Compact FrameworkGetUploadStream(String, SeekOrigin, Int64)
Returns a Stream for writing data to the remote file.
Public methodSupported by the .NET Compact FrameworkChangeDirectory
Changes the current working directory on the server.
Public methodSupported by the .NET Compact FrameworkCheckConnectionState
Checks whether the FTP session is still connected. Throws an exception on error.
Public methodSupported by the .NET Compact FrameworkKeepAlive
Sends the NOOP command to the server to keep the connection alive.
Public methodSupported by the .NET Compact FrameworkLogin(String, String)
Authenticates the user to the FTP server.
Public methodSupported by the .NET Compact FrameworkLogin(String, String, String)
Authenticates the user to the FTP server.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkOnCommandSent
Raises the CommandSent event.
Protected methodSupported by the .NET Compact FrameworkOnResponseRead
Raises the ResponseRead event.
Protected methodSupported by the .NET Compact FrameworkOnStateChanged
Raises the StateChanged event.
Protected methodSupported by the .NET Compact FrameworkOnTlsDebug Obsolete.
Protected methodSupported by the .NET Compact FrameworkOnTransferProgress
Raises the TransferProgress event.
Public methodSupported by the .NET Compact FrameworkPutFile(Stream, String)
Uploads the content of the data stream to the file on the server, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkPutFile(String, String)
Uploads the content of the local file to the file on the server, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkPutFile(Stream, String, Int64, Int64)
Uploads the content of the data stream to the file on the server.
Public methodSupported by the .NET Compact FrameworkPutFile(String, String, Int64, Int64, Int64)
Uploads the content of the local file to the file on the server.
Public methodSupported by the .NET Compact FrameworkPutFiles(String, String, FtpBatchTransferOptions) Obsolete.
Public methodSupported by the .NET Compact FrameworkPutFiles(String, String, FtpBatchTransferOptions, FtpActionOnExistingFiles) Obsolete.
Public methodSupported by the .NET Compact FrameworkPutUniqueFile(Stream)
Uploads the content of the stream to the file with unique pathname on the server.
Public methodSupported by the .NET Compact FrameworkPutUniqueFile(String)
Uploads the content of the local file to the file with unique pathname on the server.
Public methodSupported by the .NET Compact FrameworkReadResponse
Returns the response of the FTP server to the command.
Public methodSupported by the .NET Compact FrameworkReinitialize Obsolete.
Public methodSupported by the .NET Compact FrameworkRemoveDirectory
Deletes an empty remote directory with the specified pathname.
Public methodSupported by the .NET Compact FrameworkRename
Renames or moves a file or directory on the server.
Public methodSupported by the .NET Compact FrameworkSecure()()()()
Secures the connection with TLS/SSL.
Public methodSupported by the .NET Compact FrameworkSecure(TlsParameters) Obsolete.
Public methodSupported by the .NET Compact FrameworkSecure(TlsParameters, FtpSecureUpgradeType) Obsolete.
Public methodSupported by the .NET Compact FrameworkSendCommand
Executes a command on the FTP server.
Public methodSupported by the .NET Compact FrameworkSetFileDateTime
Sets the modification date and time of the specified remote file. Not all FTP servers support this!
Public methodSupported by the .NET Compact FrameworkSetSocketFactory
Sets the socket factory to be used to create communication sockets.
Public methodSupported by the .NET Compact FrameworkSite
Executes site-specific command and returns the response.
Public methodSupported by the .NET Compact FrameworkToString
Returns a string representation of this object.
(Overrides Object..::..ToString()()()().)
Public methodSupported by the .NET Compact FrameworkUpload(String, String)
Uploads the specified local file or directory hierarchy to the directory to the FTP server. Accepts wildcards.
Public methodSupported by the .NET Compact FrameworkUpload(FileSet, String)
Uploads the specified local files and/or directories to the directory on the FTP server.
Public methodSupported by the .NET Compact FrameworkUpload(String, String, TraversalMode)
Uploads the specified local file or directory hierarchy to the directory to the FTP server. Accepts wildcards.
Public methodSupported by the .NET Compact FrameworkUpload(FileSet, String, TransferMethod, ActionOnExistingFiles)
Uploads the specified local files and/or directories to the directory on the FTP server.
Public methodSupported by the .NET Compact FrameworkUpload(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles)
Uploads the specified local file or directory hierarchy to the directory on the FTP server. Accept wildcards.

Fields

  NameDescription
Public fieldStatic memberSupported by the .NET Compact FrameworkDefaultImplicitSslPort
Default FTP/Implicit SSL port (990).
Public fieldStatic memberSupported by the .NET Compact FrameworkDefaultPort
Default FTP port (21).

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAbortTimeout
Gets or sets the length of time before the abort operation times out.
Public propertySupported by the .NET Compact FrameworkDataAddress
Gets or sets the IP address announced to the FTP server when establishing an active mode data transfer. Don't set this unless needed. By default, the value of this property is IPAddress.None which means that the address of the listening interface is used instead. This has no effect for passive mode transfers.
Public propertySupported by the .NET Compact FrameworkDataPortRange
Gets 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 propertySupported by the .NET Compact FrameworkEnabledExtensions
Gets or sets the bit field specifying the enabled extensions.
Public propertySupported by the .NET Compact FrameworkEncoding
Gets or sets the Encoding to use to encode and decode command parameters and server responses.
Protected propertySupported by the .NET Compact FrameworkInstanceId
Gets instance ID (intended for logging purposes).
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkIsAuthenticated
Gets a value indicating whether the session is authenticated.
(Overrides NetworkSession..::..IsAuthenticated.)
Public propertySupported by the .NET Compact FrameworkIsBusy
Gets a value indicating whether there is any operation (method) in progress.
Public propertySupported by the .NET Compact FrameworkIsConnected
Gets a value indicating whether the session is connected.
(Overrides NetworkSession..::..IsConnected.)
Public propertySupported by the .NET Compact FrameworkIsSecured
Gets the value indicating whether the control connection is secured.
Public propertySupported by the .NET Compact FrameworkKeepAliveDuringTransferInterval Obsolete.
Public propertySupported by the .NET Compact FrameworkLocalEndPoint
Gets the local client EndPoint.
Public propertySupported by the .NET Compact FrameworkLogWriter
Gets or sets the LogWriter used by this object.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkMaxDownloadSpeed
Gets or sets the maximum allowed download speed, in kilobytes per second. For unlimited speed, set this to zero.
Public propertySupported by the .NET Compact FrameworkMaxUploadSpeed
Gets or sets the maximum allowed upload speed, in kilobytes per second. For unlimited speed, set this to zero.
Public propertySupported by the .NET Compact FrameworkOptions Obsolete.
Public propertySupported by the .NET Compact FrameworkPassive
Gets or sets a value which specifies the way data transfers are made.
Public propertySupported by the .NET Compact FrameworkProxy
Gets or sets the network proxy to use to access a remote server.
Public propertySupported by the .NET Compact FrameworkRemoteEndPoint
Gets the remote server EndPoint.
Public propertySupported by the .NET Compact FrameworkSecureTransfers
Gets or sets a value which specifies whether data transfers are secure.
Public propertySupported by the .NET Compact FrameworkServerName
Gets the server name, if available.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkServerPort
Gets the server port, if available.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkSettings
Gets or sets FTP object settings.
Public propertySupported by the .NET Compact FrameworkState
Gets the current state of the Ftp object.
Public propertySupported by the .NET Compact FrameworkSupportedExtensions
Gets the bit field specifying the extensions supported by the server.
Public propertySupported by the .NET Compact FrameworkTimeout
Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out).
Public propertySupported by the .NET Compact FrameworkTlsDebugLevel Obsolete.
Public propertySupported by the .NET Compact FrameworkTlsSocket
Returns the TLS/SSL socket of secured control connection.
Public propertySupported by the .NET Compact FrameworkTransferMode
Gets or sets the data transfer mode.
Public propertySupported by the .NET Compact FrameworkTransferState
Gets the current transfer state of the Ftp object.
Public propertySupported by the .NET Compact FrameworkTransferType
Gets or sets the data transfer type.
Public propertySupported by the .NET Compact FrameworkUploadBufferLength
Gets or sets the size of the upload buffer. Allowed values are 2KB to 16MB. Default is 16KB (4KB on .NET CF).
Public propertySupported by the .NET Compact FrameworkUserName
Gets the authenticated user name, if available.
(Inherited from NetworkSession.)
Public propertyStatic memberSupported by the .NET Compact FrameworkVersion
Returns the version of the FTP component.

Events

  NameDescription
Public eventSupported by the .NET Compact FrameworkBatchTransferProblemDetected Obsolete.
Public eventSupported by the .NET Compact FrameworkBatchTransferProgress Obsolete.
Public eventSupported by the .NET Compact FrameworkCommandSent
Occurs when a command is send to the server.
Public eventSupported by the .NET Compact FrameworkDeleteProgressChanged
Occurs when a significant action occurs in Delete method. Notifies the client about currently processing directory, currently deleting file and progress of the delete.
Public eventSupported by the .NET Compact FrameworkListItemReceived
Occurs when a file and directory listing item is received by the GetList()()()(), GetRawList()()()() or GetNameList()()()() or GetItems methods.
Public eventSupported by the .NET Compact FrameworkProblemDetected
Occurs when a problem is detected in Download, Upload, Delete or GetItems methods, making it possible for the handler to choose a desired reaction.
Public eventSupported by the .NET Compact FrameworkResponseRead
Occurs when a response is received from the server.
Public eventSupported by the .NET Compact FrameworkStateChanged
Public eventSupported by the .NET Compact FrameworkTlsDebug Obsolete.
Public eventSupported by the .NET Compact FrameworkTransferProgress Obsolete.
Public eventSupported by the .NET Compact FrameworkTransferProgressChanged
Occurs when a significant action occurs in Download, Upload methods. Notifies the client about currently processing directory, currently transferring file and progress of the transfer.
Public eventSupported by the .NET Compact FrameworkTraversing
Occurs when a significant action occurs in Download, Upload, Delete or GetItems methods. Notifies the client about traversing hierarchy structure.
Public eventSupported by the .NET Compact FrameworkValidatingCertificate
Occurs when a server certificate needs to be validated.

Explicit Interface Implementations

See Also