Export (0) Print
Expand All

FtpWebRequest Members

Implements a File Transfer Protocol (FTP) client.

The following tables list the members exposed by the FtpWebRequest type.

  Name Description
Public property AuthenticationLevel  Gets or sets values indicating the level of authentication and impersonation used for this request.(Inherited from WebRequest.)
Public property CachePolicy  Gets or sets the cache policy for this request.(Inherited from WebRequest.)
Public property ClientCertificates Gets the certificates used for establishing an encrypted connection to the FTP server.
Public property ConnectionGroupName Overridden. Gets or sets the name of the connection group that contains the service point used to send the current request.
Public property ContentLength Overridden. Gets or sets a value that is ignored by the FtpWebRequest class.
Public property ContentOffset Gets or sets a byte offset into the file being downloaded by this request.
Public property ContentType Overridden. Always throws a NotSupportedException.
Public property Credentials Overridden. Gets or sets the credentials used to communicate with the FTP server.
Public property Static DefaultCachePolicy Defines the default cache policy for all FTP requests.
Public property Static DefaultWebProxy  Gets or sets the global HTTP proxy.(Inherited from WebRequest.)
Public property EnableSsl Gets or sets a Boolean that specifies that an SSL connection should be used.
Public property Headers Overridden. Gets an empty WebHeaderCollection object.
Public property ImpersonationLevel  Gets or sets the impersonation level for the current request.(Inherited from WebRequest.)
Public property KeepAlive Gets or sets a Boolean value that specifies whether the control connection to the FTP server is closed after the request completes.
Public property Method Overridden. Gets or sets the command to send to the FTP server.
Public property PreAuthenticate Overridden. Always throws a NotSupportedException.
Public property Proxy Overridden. Gets or sets the proxy used to communicate with the FTP server.
Public property ReadWriteTimeout Gets or sets a time-out when reading from or writing to a stream.
Public property RenameTo Gets or sets the new name of a file being renamed.
Public property RequestUri Overridden. Gets the URI requested by this instance.
Public property ServicePoint Gets the ServicePoint object used to connect to the FTP server.
Public property Timeout Overridden. Gets or sets the number of milliseconds to wait for a request.
Public property UseBinary Gets or sets a Boolean value that specifies the data type for file transfers.
Public property UseDefaultCredentials Overridden. Always throws a NotSupportedException.
Public property UsePassive Gets or sets the behavior of a client application's data transfer process.
Top

(see also Protected Methods )
  Name Description
Public method Abort Overridden. Terminates an asynchronous FTP operation.
Public method BeginGetRequestStream Overridden. Begins asynchronously opening a request's content stream for writing.
Public method BeginGetResponse Overridden. Begins sending a request and receiving a response from an FTP server asynchronously.
Public method Static Create  Overloaded. Initializes a new WebRequest. (Inherited from WebRequest.)
Public method Static CreateDefault  Initializes a new WebRequest instance for the specified URI scheme. (Inherited from WebRequest.)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method EndGetRequestStream Overridden. Ends a pending asynchronous operation started with BeginGetRequestStream.
Public method EndGetResponse Overridden. Ends a pending asynchronous operation started with BeginGetResponse.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method 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.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetRequestStream Overridden. Retrieves the stream used to upload data to an FTP server.
Public method GetResponse Overridden. Returns the FTP server response.
Public method Static GetSystemWebProxy  Returns a proxy configured with the Internet Explorer settings of the currently impersonated user. (Inherited from WebRequest.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Static RegisterPrefix  Registers a WebRequest descendant for the specified URI. (Inherited from WebRequest.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft