Export (0) Print
Expand All

FtpWebRequest Members

Implements a File Transfer Protocol (FTP) client.

The FtpWebRequest type exposes the following members.

  NameDescription
Public method Abort Terminates an asynchronous FTP operation. (Overrides WebRequest.Abort().)
Public method BeginGetRequestStream Begins asynchronously opening a request's content stream for writing. (Overrides WebRequest.BeginGetRequestStream(AsyncCallback, Object).)
Public method BeginGetResponse Begins sending a request and receiving a response from an FTP server asynchronously. (Overrides WebRequest.BeginGetResponse(AsyncCallback, Object).)
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 Ends a pending asynchronous operation started with BeginGetRequestStream. (Overrides WebRequest.EndGetRequestStream(IAsyncResult).)
Public method EndGetResponse Ends a pending asynchronous operation started with BeginGetResponse. (Overrides WebRequest.EndGetResponse(IAsyncResult).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetObjectData Infrastructure. Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from WebRequest.)
Public method GetRequestStream Retrieves the stream used to upload data to an FTP server. (Overrides WebRequest.GetRequestStream().)
Public method GetResponse Returns the FTP server response. (Overrides WebRequest.GetResponse().)
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.)
Protected method MemberwiseClone Overloaded.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
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 Gets or sets the name of the connection group that contains the service point used to send the current request. (Overrides WebRequest.ConnectionGroupName.)
Public property ContentLength Infrastructure. Gets or sets a value that is ignored by the FtpWebRequest class. (Overrides WebRequest.ContentLength.)
Public property ContentOffset Gets or sets a byte offset into the file being downloaded by this request.
Public property ContentType Infrastructure. Always throws a NotSupportedException. (Overrides WebRequest.ContentType.)
Public property Credentials Gets or sets the credentials used to communicate with the FTP server. (Overrides WebRequest.Credentials.)
Public property Static member DefaultCachePolicy Defines the default cache policy for all FTP requests.
Public property EnableSsl Gets or sets a Boolean that specifies that an SSL connection should be used.
Public property Headers Infrastructure. Gets an empty WebHeaderCollection object. (Overrides WebRequest.Headers.)
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 Gets or sets the command to send to the FTP server. (Overrides WebRequest.Method.)
Public property PreAuthenticate Infrastructure. Always throws a NotSupportedException. (Overrides WebRequest.PreAuthenticate.)
Public property Proxy Gets or sets the proxy used to communicate with the FTP server. (Overrides WebRequest.Proxy.)
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 Gets the URI requested by this instance. (Overrides WebRequest.RequestUri.)
Public property ServicePoint Gets the ServicePoint object used to connect to the FTP server.
Public property Timeout Gets or sets the number of milliseconds to wait for a request. (Overrides WebRequest.Timeout.)
Public property UseBinary Gets or sets a Boolean value that specifies the data type for file transfers.
Public property UseDefaultCredentials Infrastructure. Always throws a NotSupportedException. (Overrides WebRequest.UseDefaultCredentials.)
Public property UsePassive Gets or sets the behavior of a client application's data transfer process.
Top

  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. When overridden in a descendant class, populates a SerializationInfo instance with the data needed to serialize the WebRequest. (Inherited from WebRequest.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft