System.Net.FtpWebRequest: Property Members

The properties of System.Net.FtpWebRequest are listed below. For a list of all members, see the FtpWebRequest Members list.

See Also: Inherited members from System.Net.WebRequest

Public Properties

ClientCertificatesSystem.Security.Cryptography.X509Certificates.X509CertificateCollection.

Gets or sets the certificates used for establishing an encrypted connection to the FTP server.

override
ConnectionGroupNamestring.

Gets or sets the name of the connection group that contains the service point used to send the current request.

override
ContentLengthlong.

Gets or sets a value that is ignored by the System.Net.FtpWebRequest class.

ContentOffsetlong.

Gets or sets a byte offset into the file being downloaded by this request.

override
ContentTypestring.

Always throws a NotSupportedException.

override
CredentialsICredentials.

Gets or sets the credentials used to communicate with the FTP server.

static
DefaultCachePolicySystem.Net.Cache.RequestCachePolicy.

Defines the default cache policy for all FTP requests.

EnableSslbool.

Gets or sets a bool that specifies that an SSL connection should be used.

override
HeadersWebHeaderCollection.

Gets an empty System.Net.WebHeaderCollection object.

KeepAlivebool.

Gets or sets a bool value that specifies whether the control connection to the FTP server is closed after the request completes.

override
Methodstring.

Gets or sets the command to send to the FTP server.

override
PreAuthenticatebool.

Always throws a NotSupportedException.

override
ProxyIWebProxy.

Gets or sets the proxy used to communicate with the FTP server.

ReadWriteTimeoutint.

Gets or sets a time-out when reading from or writing to a stream.

RenameTostring.

Gets or sets the new name of a file being renamed.

[read-only]
override
RequestUriUri.

Gets the URI requested by this instance.

[read-only]
ServicePointServicePoint.

Gets the System.Net.ServicePoint object used to connect to the FTP server.

override
Timeoutint.

Gets or sets the number of milliseconds to wait for a request.

UseBinarybool.

Gets or sets a bool value that specifies the data type for file transfers.

override
UseDefaultCredentialsbool.

Always throws a NotSupportedException.

UsePassivebool.

Gets or sets the behavior of a client application's data transfer process.