The Ftp type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Ftp |
Initializes a new instance of the Ftp class.
|
Methods
Name | Description | |
---|---|---|
Abort |
Aborts the current operation.
| |
AppendFile(Stream, String) |
Appends the content of the data stream to the file on the server.
| |
AppendFile(String, String) |
Appends the content of the local file to the file on the server.
| |
AppendFile(Stream, String, Int64) |
Appends the content of the data stream to the file on the server.
| |
AppendFile(String, String, Int64, Int64) |
Appends the content of the local file to the file on the server.
| |
BeginAppendFile(Stream, String, AsyncCallback, Object) |
Begins asynchronous AppendFile operation.
Appends the content of the data stream to the file on the server.
| |
BeginAppendFile(String, String, AsyncCallback, Object) |
Begins asynchronous AppendFile operation.
Appends the content of the local file to the file on the server.
| |
BeginAppendFile(Stream, String, Int64, AsyncCallback, Object) |
Begins asynchronous AppendFile operation.
Appends the content of the data stream to the file on the server.
| |
BeginAppendFile(String, String, Int64, Int64, AsyncCallback, Object) |
Begins asynchronous AppendFile operation.
Appends the content of the local file to the file on the server.
| |
BeginCalculateLocalChecksum(FtpChecksumType, Stream, AsyncCallback, Object) |
Begins asynchronous CalculateLocalChecksum operation.
Calculates the checksum of the data in specified stream.
| |
BeginCalculateLocalChecksum(FtpChecksumType, String, AsyncCallback, Object) |
Begins asynchronous CalculateLocalChecksum operation.
Calculates the checksum for the specified local file.
| |
BeginCalculateLocalChecksum(FtpChecksumType, Stream, Int64, AsyncCallback, Object) |
Begins asynchronous CalculateLocalChecksum operation.
Calculates the checksum of the data in specified stream.
| |
BeginCalculateLocalChecksum(FtpChecksumType, String, Int32, Int64, AsyncCallback, Object) |
Begins asynchronous CalculateLocalChecksum operation.
Calculates the checksum for the specified local file.
| |
BeginClearCommandChannel |
Begins asynchronous ClearCommandChannel operation.
Reverts the protected control connection back to plaintext connection.
| |
BeginConnect(String, AsyncCallback, Object) |
Begins asynchronous Connect operation.
Connects to the FTP server.
| |
BeginConnect(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.
| |
BeginConnect(String, Int32, AsyncCallback, Object) |
Begins asynchronous Connect operation.
Connects to the FTP server.
| |
BeginConnect(String, Int32, SslMode, AsyncCallback, Object) |
Begins asynchronous Connect operation.
Connects to the FTP server with the specified security.
| |
BeginConnect(String, Int32, TlsParameters, FtpSecurity, AsyncCallback, Object) | Obsolete. | |
BeginCopyToAnotherServer |
Begins asynchronous CopyToAnotherServer operation.
Copies a file on this FTP server to another server using direct server-to-server transfer, also known as FXP.
| |
BeginCreateDirectory |
Begins asynchronous CreateDirectory operation.
Creates a directory on the server.
| |
BeginDelete(FileSet, AsyncCallback, Object) |
Begins asynchronous Delete operation.
Deletes the specified files and/or directories at the FTP server.
| |
BeginDelete(String, TraversalMode, AsyncCallback, Object) |
Begins asynchronous Delete operation.
Deletes the specified files and/or directories at the FTP server.
| |
BeginDeleteFile |
Begins asynchronous DeleteFile operation.
Deletes the file on the server.
| |
BeginDirectoryExists |
Begins asynchronous DirectoryExists operation.
Detects whether the specified directory exists on the server. Not all FTP servers support this!
| |
BeginDisconnect |
Begins asynchronous Disconnect operation.
Informs the server that the connection is about to close and
terminates the connection.
| |
BeginDownload(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.
| |
BeginDownload(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.
| |
BeginFileExists |
Begins asynchronous FileExists operation.
Detects whether the specified file exists on the server. Not all FTP servers support this!
| |
BeginGetCurrentDirectory |
Begins asynchronous GetCurrentDirectory operation.
Gets the absolute path of the current working directory on the remote server.
| |
BeginGetDownloadStream |
Begins asynchronous GetDownloadStream operation.
Returns a Stream for reading data from the remote file.
| |
BeginGetFile(String, Stream, AsyncCallback, Object) |
Begins asynchronous GetFile operation.
Downloads the remote file to the data stream.
| |
BeginGetFile(String, String, AsyncCallback, Object) |
Begins asynchronous GetFile operation.
Downloads the remote file to the local file.
| |
BeginGetFile(String, Stream, Int64, AsyncCallback, Object) |
Begins asynchronous GetFile operation.
Downloads the remote file to the data stream.
| |
BeginGetFile(String, String, Int64, Int64, AsyncCallback, Object) |
Begins asynchronous GetFile operation.
Downloads the remote file to the local file.
| |
BeginGetFileDateTime |
Begins asynchronous GetFileDateTime operation.
Returns the modification date and time of the specified remote file.
| |
BeginGetFileLength |
Begins asynchronous GetFileLength operation.
Returns the size of the specified remote file.
| |
BeginGetFiles | Obsolete. | |
BeginGetChecksum(String, ChecksumAlgorithm, AsyncCallback, Object) |
Begins asynchronous GetChecksum operation.
Returns the checksum of the specified file on the server.
| |
BeginGetChecksum(String, ChecksumAlgorithm, Int64, Int64, AsyncCallback, Object) |
Begins asynchronous GetChecksum operation.
Returns the checksum of the specified file on the server.
| |
BeginGetItems(FileSet, AsyncCallback, Object) |
Begins asynchronous GetItems operation.
Returns parsed list of files and directories specified by the set.
| |
BeginGetItems(String, TraversalMode, AsyncCallback, Object) |
Begins asynchronous GetItems operation.
Returns parsed list of files and directories.
| |
BeginGetList(AsyncCallback, Object) |
Begins asynchronous GetList operation.
Returns parsed list of files and directories in the current server directory.
| |
BeginGetList(String, AsyncCallback, Object) |
Begins asynchronous GetList operation.
Returns parsed list of files and directories.
| |
BeginGetNameList(AsyncCallback, Object) |
Begins asynchronous GetNameList operation.
Retrieves the list of names in the current server directory.
| |
BeginGetNameList(String, AsyncCallback, Object) |
Begins asynchronous GetNameList operation.
Retrieves the list of names.
| |
BeginGetRawList(AsyncCallback, Object) |
Begins asynchronous GetRawList operation.
Retrieves the raw list of files and directories in the current server directory as received from the server.
| |
BeginGetRawList(String, AsyncCallback, Object) |
Begins asynchronous GetRawList operation.
Retrieves the raw list of files and directories as received from the server.
| |
BeginGetRawList(String, FtpListingType, AsyncCallback, Object) |
Begins asynchronous GetRawList operation.
Retrieves the raw list of files and directories as received from the server.
| |
BeginGetRemoteChecksum(FtpChecksumType, String, AsyncCallback, Object) |
Begins asynchronous GetRemoteChecksum operation.
Returns the checksum of the specified file on the server.
| |
BeginGetRemoteChecksum(FtpChecksumType, String, Int32, Int64, AsyncCallback, Object) |
Begins asynchronous GetRemoteChecksum operation.
Returns the checksum of the specified file on the server.
| |
BeginGetSystemName |
Begins asynchronous GetSystemName operation.
Returns the name of the remote OS.
| |
BeginGetUploadStream |
Begins asynchronous GetUploadStream operation.
Returns a Stream for writing data to the remote file.
| |
BeginChangeDirectory |
Begins asynchronous ChangeDirectory operation.
Changes the current working directory on the server.
| |
BeginKeepAlive |
Begins asynchronous KeepAlive operation.
Sends the NOOP command to the server to keep the connection alive.
| |
BeginLogin(String, String, AsyncCallback, Object) |
Begins asynchronous Login operation.
Authenticates the user to the FTP server.
| |
BeginLogin(String, String, String, AsyncCallback, Object) |
Begins asynchronous Login operation.
Authenticates the user to the FTP server.
| |
BeginPutFile(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.
| |
BeginPutFile(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.
| |
BeginPutFile(Stream, String, Int64, Int64, AsyncCallback, Object) |
Begins asynchronous PutFile operation.
Uploads the content of the data stream to the file on the server.
| |
BeginPutFile(String, String, Int64, Int64, Int64, AsyncCallback, Object) |
Begins asynchronous PutFile operation.
Uploads the content of the local file to the file on the server.
| |
BeginPutFiles | Obsolete. | |
BeginPutUniqueFile(Stream, AsyncCallback, Object) |
Begins asynchronous PutUniqueFile operation.
Uploads the content of the stream to the file with unique pathname on the server.
| |
BeginPutUniqueFile(String, AsyncCallback, Object) |
Begins asynchronous PutUniqueFile operation.
Uploads the content of the local file to the file with unique pathname on the server.
| |
BeginReadResponse |
Begins asynchronous ReadResponse operation.
Returns the response of the FTP server to the command.
| |
BeginReinitialize | Obsolete. | |
BeginRemoveDirectory |
Begins asynchronous RemoveDirectory operation.
Deletes an empty remote directory with the specified pathname.
| |
BeginRename |
Begins asynchronous Rename operation.
Renames or moves a file or directory on the server.
| |
BeginSecure(AsyncCallback, Object) |
Begins asynchronous Secure operation.
Secures the connection with TLS/SSL.
| |
BeginSecure(TlsParameters, FtpSecureUpgradeType, AsyncCallback, Object) | Obsolete. | |
BeginSendCommand |
Begins asynchronous SendCommand operation.
Executes a command on the FTP server.
| |
BeginSetFileDateTime |
Begins asynchronous SetFileDateTime operation.
Sets the modification date and time of the specified remote file. Not all FTP servers support this!
| |
BeginSite |
Begins asynchronous Site operation.
Executes site-specific command and returns the response.
| |
BeginUpload(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.
| |
BeginUpload(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.
| |
CalculateLocalChecksum(FtpChecksumType, Stream) |
Calculates the checksum of the data in specified stream.
| |
CalculateLocalChecksum(FtpChecksumType, String) |
Calculates the checksum for the specified local file.
| |
CalculateLocalChecksum(FtpChecksumType, Stream, Int64) |
Calculates the checksum of the data in specified stream.
| |
CalculateLocalChecksum(FtpChecksumType, String, Int32, Int64) |
Calculates the checksum for the specified local file.
| |
ClearCommandChannel |
Reverts the protected control connection back to plaintext connection.
| |
Connect(String) |
Connects to the FTP server.
| |
Connect(String, SslMode) |
Connects to the FTP server with the specified security. Use a port corresponding to the specified security mode.
| |
Connect(String, Int32) |
Connects to the FTP server.
| |
Connect(String, Int32, SslMode) |
Connects to the FTP server with the specified security.
| |
Connect(String, Int32, TlsParameters, FtpSecurity) | Obsolete. | |
CopyToAnotherServer |
Copies a file on this FTP server to another server using direct server-to-server transfer, also known as FXP.
| |
CreateDirectory |
Creates a directory on the server.
| |
Delete(FileSet) |
Deletes the specified files and/or directories at the FTP server.
| |
Delete(String, TraversalMode) |
Deletes the specified files and/or directories at the FTP server.
| |
DeleteFile |
Deletes the file on the server.
| |
DirectoryExists |
Detects whether the specified directory exists on the server. Not all FTP servers support this!
| |
Disconnect |
Informs the server that the connection is about to close and
terminates the connection.
| |
Dispose()()()() |
Disposes the Ftp object and all the socket objects.
| |
Dispose(Boolean) |
Releases the unmanaged resources used by the Ftp
and optionally releases the managed resources.
| |
Download(String, String) |
Downloads the specified file or directory hierarchy from the FTP server to the local directory. Accepts wildcards.
| |
Download(FileSet, String) |
Downloads the specified files and/or directories from the FTP server to the local directory.
| |
Download(String, String, TraversalMode) |
Downloads the specified file or directory hierarchy from the FTP server to the local directory. Accepts wildcards.
| |
Download(FileSet, String, TransferMethod, ActionOnExistingFiles) |
Downloads the specified files and/or directories from the FTP server to the local directory.
| |
Download(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles) |
Downloads the specified file or directory hierarchy from the FTP server to the local directory. Accepts wildcards.
| |
EndAppendFile |
Ends an asynchronous BeginAppendFile operation.
| |
EndCalculateLocalChecksum |
Ends an asynchronous BeginCalculateLocalChecksum operation.
| |
EndClearCommandChannel |
Ends an asynchronous BeginClearCommandChannel operation.
| |
EndConnect |
Ends an asynchronous BeginConnect operation.
| |
EndCopyToAnotherServer |
Ends an asynchronous BeginCopyToAnotherServer operation.
| |
EndCreateDirectory |
Ends an asynchronous BeginCreateDirectory operation.
| |
EndDelete |
Ends an asynchronous BeginDelete operation.
| |
EndDeleteFile |
Ends an asynchronous BeginDeleteFile operation.
| |
EndDirectoryExists |
Ends an asynchronous BeginDirectoryExists operation.
| |
EndDisconnect |
Ends an asynchronous BeginDisconnect operation.
| |
EndDownload |
Ends an asynchronous BeginDownload operation.
| |
EndFileExists |
Ends an asynchronous BeginFileExists operation.
| |
EndGetCurrentDirectory |
Ends an asynchronous BeginGetCurrentDirectory operation.
| |
EndGetDownloadStream |
Ends an asynchronous BeginGetDownloadStream operation.
| |
EndGetFile |
Ends an asynchronous BeginGetFile operation.
| |
EndGetFileDateTime |
Ends an asynchronous BeginGetFileDateTime operation.
| |
EndGetFileLength |
Ends an asynchronous BeginGetFileLength operation.
| |
EndGetFiles | Obsolete. | |
EndGetChecksum |
Ends an asynchronous BeginGetChecksum operation.
| |
EndGetItems |
Ends an asynchronous BeginGetItems operation.
| |
EndGetList |
Ends an asynchronous BeginGetList operation.
| |
EndGetNameList |
Ends an asynchronous BeginGetNameList operation.
| |
EndGetRawList |
Ends an asynchronous BeginGetRawList operation.
| |
EndGetRemoteChecksum |
Ends an asynchronous BeginGetRemoteChecksum operation.
| |
EndGetSystemName |
Ends an asynchronous BeginGetSystemName operation.
| |
EndGetUploadStream |
Ends an asynchronous BeginGetUploadStream operation.
| |
EndChangeDirectory |
Ends an asynchronous BeginChangeDirectory operation.
| |
EndKeepAlive |
Ends an asynchronous BeginKeepAlive operation.
| |
EndLogin |
Ends an asynchronous BeginLogin operation.
| |
EndPutFile |
Ends an asynchronous BeginPutFile operation.
| |
EndPutFiles | Obsolete. | |
EndPutUniqueFile |
Ends an asynchronous BeginPutUniqueFile operation.
| |
EndReadResponse |
Ends an asynchronous BeginReadResponse operation.
| |
EndReinitialize | Obsolete. | |
EndRemoveDirectory |
Ends an asynchronous BeginRemoveDirectory operation.
| |
EndRename |
Ends an asynchronous BeginRename operation.
| |
EndSecure |
Ends an asynchronous BeginSecure operation.
| |
EndSendCommand |
Ends an asynchronous BeginSendCommand operation.
| |
EndSetFileDateTime |
Ends an asynchronous BeginSetFileDateTime operation.
| |
EndSite |
Ends an asynchronous BeginSite operation.
| |
EndUpload |
Ends an asynchronous BeginUpload operation.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FileExists |
Detects whether the specified file exists on the server. Not all FTP servers support this!
| |
Finalize |
Finalizer. Called by garbage collector during object destruction.
(Overrides Object..::..Finalize()()()().) | |
Flush |
Reads and returns control connection data, if available.
| |
GetConnectionState |
Checks whether the FTP session is still connected and returns its state.
| |
GetCurrentDirectory |
Gets the absolute path of the current working directory on the remote server.
| |
GetDownloadStream(String) |
Returns a Stream for reading data from the remote file.
| |
GetDownloadStream(String, SeekOrigin, Int64) |
Returns a Stream for reading data from the remote file.
| |
GetFile(String, Stream) |
Downloads the remote file to the data stream.
| |
GetFile(String, String) |
Downloads the remote file to the local file.
| |
GetFile(String, Stream, Int64) |
Downloads the remote file to the data stream.
| |
GetFile(String, String, Int64, Int64) |
Downloads the remote file to the local file.
| |
GetFileDateTime |
Returns the modification date and time of the specified remote file.
| |
GetFileLength |
Returns the size of the specified remote file.
| |
GetFiles(String, String, FtpBatchTransferOptions) | Obsolete. | |
GetFiles(String, String, FtpBatchTransferOptions, FtpActionOnExistingFiles) | Obsolete. | |
GetHashCode | 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.) | |
GetChecksum(String, ChecksumAlgorithm) |
Returns the checksum of the specified file on the server.
| |
GetChecksum(String, ChecksumAlgorithm, Int64, Int64) |
Returns the checksum of the specified file on the server.
| |
GetItems(String) |
Returns parsed list of files and directories. Matching directories are searched recursively.
| |
GetItems(FileSet) |
Returns parsed list of files and directories specified by the set.
| |
GetItems(String, TraversalMode) |
Returns parsed list of files and directories.
| |
GetList()()()() |
Returns parsed list of files and directories in the current server directory.
| |
GetList(String) |
Returns parsed list of files and directories.
| |
GetNameList()()()() |
Retrieves the list of names in the current server directory.
| |
GetNameList(String) |
Retrieves the list of names.
| |
GetRawList()()()() |
Retrieves the raw list of files and directories in the current server directory as received from the server.
| |
GetRawList(String) |
Retrieves the raw list of files and directories as received from the server.
| |
GetRawList(String, FtpListingType) |
Retrieves the raw list of files and directories as received from the server.
| |
GetRemoteChecksum(FtpChecksumType, String) |
Returns the checksum of the specified file on the server.
| |
GetRemoteChecksum(FtpChecksumType, String, Int32, Int64) |
Returns the checksum of the specified file on the server.
| |
GetSupportedChecksumAlgorithms |
Returns checksum algorithms supported by the server.
| |
GetSupportedChecksumTypes |
Returns checksum types supported by the server.
| |
GetSystemName |
Returns the name of the remote OS.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUploadStream(String) |
Returns a Stream for writing data to the remote file.
| |
GetUploadStream(String, SeekOrigin, Int64) |
Returns a Stream for writing data to the remote file.
| |
ChangeDirectory |
Changes the current working directory on the server.
| |
CheckConnectionState |
Checks whether the FTP session is still connected. Throws an exception on error.
| |
KeepAlive |
Sends the NOOP command to the server to keep the connection alive.
| |
Login(String, String) |
Authenticates the user to the FTP server.
| |
Login(String, String, String) |
Authenticates the user to the FTP server.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCommandSent |
Raises the CommandSent event.
| |
OnResponseRead |
Raises the ResponseRead event.
| |
OnStateChanged |
Raises the StateChanged event.
| |
OnTlsDebug | Obsolete. | |
OnTransferProgress |
Raises the TransferProgress event.
| |
PutFile(Stream, String) |
Uploads the content of the data stream to the file on the server, overriding it if it already exists.
| |
PutFile(String, String) |
Uploads the content of the local file to the file on the server, overriding it if it already exists.
| |
PutFile(Stream, String, Int64, Int64) |
Uploads the content of the data stream to the file on the server.
| |
PutFile(String, String, Int64, Int64, Int64) |
Uploads the content of the local file to the file on the server.
| |
PutFiles(String, String, FtpBatchTransferOptions) | Obsolete. | |
PutFiles(String, String, FtpBatchTransferOptions, FtpActionOnExistingFiles) | Obsolete. | |
PutUniqueFile(Stream) |
Uploads the content of the stream to the file with unique pathname on the server.
| |
PutUniqueFile(String) |
Uploads the content of the local file to the file with unique pathname on the server.
| |
ReadResponse |
Returns the response of the FTP server to the command.
| |
Reinitialize | Obsolete. | |
RemoveDirectory |
Deletes an empty remote directory with the specified pathname.
| |
Rename |
Renames or moves a file or directory on the server.
| |
Secure()()()() |
Secures the connection with TLS/SSL.
| |
Secure(TlsParameters) | Obsolete. | |
Secure(TlsParameters, FtpSecureUpgradeType) | Obsolete. | |
SendCommand |
Executes a command on the FTP server.
| |
SetFileDateTime |
Sets the modification date and time of the specified remote file. Not all FTP servers support this!
| |
SetSocketFactory |
Sets the socket factory to be used to create communication sockets.
| |
Site |
Executes site-specific command and returns the response.
| |
ToString |
Returns a string representation of this object.
(Overrides Object..::..ToString()()()().) | |
Upload(String, String) |
Uploads the specified local file or directory hierarchy to the directory to the FTP server. Accepts wildcards.
| |
Upload(FileSet, String) |
Uploads the specified local files and/or directories to the directory on the FTP server.
| |
Upload(String, String, TraversalMode) |
Uploads the specified local file or directory hierarchy to the directory to the FTP server. Accepts wildcards.
| |
Upload(FileSet, String, TransferMethod, ActionOnExistingFiles) |
Uploads the specified local files and/or directories to the directory on the FTP server.
| |
Upload(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles) |
Uploads the specified local file or directory hierarchy to the directory on the FTP server. Accept wildcards.
|
Fields
Name | Description | |
---|---|---|
DefaultImplicitSslPort |
Default FTP/Implicit SSL port (990).
| |
DefaultPort |
Default FTP port (21).
|
Properties
Name | Description | |
---|---|---|
AbortTimeout |
Gets or sets the length of time before the abort operation times out.
| |
DataAddress |
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.
| |
DataPortRange |
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!
| |
EnabledExtensions |
Gets or sets the bit field specifying the enabled extensions.
| |
Encoding |
Gets or sets the Encoding to use to encode and decode command parameters and server responses.
| |
InstanceId |
Gets instance ID (intended for logging purposes).
(Inherited from NetworkSession.) | |
IsAuthenticated |
Gets a value indicating whether the session is authenticated.
(Overrides NetworkSession..::..IsAuthenticated.) | |
IsBusy |
Gets a value indicating whether there is any operation (method) in progress.
| |
IsConnected |
Gets a value indicating whether the session is connected.
(Overrides NetworkSession..::..IsConnected.) | |
IsSecured |
Gets the value indicating whether the control connection is secured.
| |
KeepAliveDuringTransferInterval | Obsolete. | |
LocalEndPoint |
Gets the local client EndPoint.
| |
LogWriter |
Gets or sets the LogWriter used by this object.
(Inherited from NetworkSession.) | |
MaxDownloadSpeed |
Gets or sets the maximum allowed download speed, in kilobytes per second. For unlimited speed, set this to zero.
| |
MaxUploadSpeed |
Gets or sets the maximum allowed upload speed, in kilobytes per second. For unlimited speed, set this to zero.
| |
Options | Obsolete. | |
Passive |
Gets or sets a value which specifies the way data transfers are made.
| |
Proxy |
Gets or sets the network proxy to use to access a remote server.
| |
RemoteEndPoint |
Gets the remote server EndPoint.
| |
SecureTransfers |
Gets or sets a value which specifies whether data transfers are secure.
| |
ServerName |
Gets the server name, if available.
(Inherited from NetworkSession.) | |
ServerPort |
Gets the server port, if available.
(Inherited from NetworkSession.) | |
Settings |
Gets or sets FTP object settings.
| |
State |
Gets the current state of the Ftp object.
| |
SupportedExtensions |
Gets the bit field specifying the extensions supported by the server.
| |
Timeout |
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).
| |
TlsDebugLevel | Obsolete. | |
TlsSocket |
Returns the TLS/SSL socket of secured control connection.
| |
TransferMode |
Gets or sets the data transfer mode.
| |
TransferState |
Gets the current transfer state of the Ftp object.
| |
TransferType |
Gets or sets the data transfer type.
| |
UploadBufferLength |
Gets or sets the size of the upload buffer. Allowed values are 2KB to 16MB. Default is 16KB (4KB on .NET CF).
| |
UserName |
Gets the authenticated user name, if available.
(Inherited from NetworkSession.) | |
Version |
Returns the version of the FTP component.
|
Events
Name | Description | |
---|---|---|
BatchTransferProblemDetected | Obsolete. | |
BatchTransferProgress | Obsolete. | |
CommandSent |
Occurs when a command is send to the server.
| |
DeleteProgressChanged |
Occurs when a significant action occurs in Delete method.
Notifies the client about currently processing directory, currently deleting file and progress of the delete.
| |
ListItemReceived |
Occurs when a file and directory listing item is received by the GetList()()()(), GetRawList()()()() or GetNameList()()()() or GetItems methods.
| |
ProblemDetected | ||
ResponseRead |
Occurs when a response is received from the server.
| |
StateChanged | ||
TlsDebug | Obsolete. | |
TransferProgress | Obsolete. | |
TransferProgressChanged | ||
Traversing | ||
ValidatingCertificate |
Occurs when a server certificate needs to be validated.
|