Export (0) Print
Expand All

FtpWebResponse Members

Encapsulates a File Transfer Protocol (FTP) server's response to a request.

The FtpWebResponse type exposes the following members.

  NameDescription
Public method Close Frees the resources held by the response. (Overrides WebResponse.Close().)
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 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 that is needed to serialize the target object. (Inherited from WebResponse.)
Public method GetResponseStream Retrieves the stream that contains response data sent from an FTP server. (Overrides WebResponse.GetResponseStream().)
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 BannerMessage Gets the message sent by the FTP server when a connection is established prior to logon.
Public property ContentLength Gets the length of the data received from the FTP server. (Overrides WebResponse.ContentLength.)
Public property ContentType When overridden in a derived class, gets or sets the content type of the data being received. (Inherited from WebResponse.)
Public property ExitMessage Gets the message sent by the server when the FTP session is ending.
Public property Headers Infrastructure. Gets an empty WebHeaderCollection object. (Overrides WebResponse.Headers.)
Public property IsFromCache Gets a Boolean value that indicates whether this response was obtained from the cache. (Inherited from WebResponse.)
Public property IsMutuallyAuthenticated Gets a Boolean value that indicates whether mutual authentication occurred. (Inherited from WebResponse.)
Public property LastModified Gets the date and time that a file on an FTP server was last modified.
Public property ResponseUri Gets the URI that sent the response to the request. (Overrides WebResponse.ResponseUri.)
Public property StatusCode Gets the most recent status code sent from the FTP server.
Public property StatusDescription Gets text that describes a status code sent from the FTP server.
Public property WelcomeMessage Gets the message sent by the FTP server when authentication is complete.
Top

  NameDescription
Explicit interface implemetation Private method IDisposable.Dispose Infrastructure. When overridden in a derived class, releases all resources used by the WebResponse. (Inherited from WebResponse.)
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. Populates a SerializationInfo instance with the data that is needed to serialize WebResponse. (Inherited from WebResponse.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft