The FtpWebRequest type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Abort |
Cancels an asynchronous FTP request.
(Overrides WebRequest..::..Abort()()()().) |
![]() ![]() | BeginGetRequestStream |
Begins an asynchronous request for a Stream instance to use to write data.
(Overrides WebRequest..::..BeginGetRequestStream(AsyncCallback, Object).) |
![]() ![]() | BeginGetResponse |
Begins an asynchronous request for a FtpWebResponse instance to use to write data.
(Overrides WebRequest..::..BeginGetResponse(AsyncCallback, Object).) |
![]() ![]() | 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.) |
![]() ![]() | EndGetRequestStream |
Ends a pending asynchronous request for a Stream instance.
(Overrides WebRequest..::..EndGetRequestStream(IAsyncResult).) |
![]() ![]() | EndGetResponse |
Ends a pending asynchronous request for a FtpWebResponse instance.
(Overrides WebRequest..::..EndGetResponse(IAsyncResult).) |
![]() ![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | 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.) |
![]() ![]() | 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.) |
![]() ![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() ![]() | GetRequestStream |
Gets a Stream instance to use to write request data.
(Overrides WebRequest..::..GetRequestStream()()()().) |
![]() ![]() | GetResponse |
Returns WebResponse instance to use to write data.
(Overrides WebRequest..::..GetResponse()()()().) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() ![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() ![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() ![]() | ConnectionGroupName | When overridden in a descendant class, gets or sets the name of the connection group for the request. (Inherited from WebRequest.) |
![]() ![]() | ContentLength |
Gets or sets the Content-length HTTP header.
(Overrides WebRequest..::..ContentLength.) |
![]() ![]() | ContentType |
Gets or sets the value of the Content-type HTTP header.
(Overrides WebRequest..::..ContentType.) |
![]() ![]() ![]() | Creator |
Gets the instance of IWebRequestCreate for registering with WebRequest.Create.
|
![]() ![]() | Credentials |
Gets or sets the credentials to submit to the proxy server for authentication.
(Overrides WebRequest..::..Credentials.) |
![]() ![]() | Headers |
Gets or sets a collection of the name/value pairs that make up the HTTP headers.
(Overrides WebRequest..::..Headers.) |
![]() ![]() | LogWriter |
Gets or sets the log writer used by this object.
|
![]() ![]() | Method |
Gets or sets the method for the request.
(Overrides WebRequest..::..Method.) |
![]() ![]() | PreAuthenticate |
Gets or sets a value indicating whether to send a preauthentication header with the request.
(Overrides WebRequest..::..PreAuthenticate.) |
![]() ![]() | Proxy |
Gets or sets proxy information for the request.
(Overrides WebRequest..::..Proxy.) |
![]() ![]() | RequestUri |
Gets the URI of the request.
(Overrides WebRequest..::..RequestUri.) |
![]() ![]() | Security | Obsolete. |
![]() ![]() | SslMode |
Gets or sets SSL mode.
|
![]() ![]() | Timeout |
Gets or sets the time-out value (in milliseconds) for a request.
(Overrides WebRequest..::..Timeout.) |
![]() ![]() | TlsParameters |
Gets or sets TLS/SSL security parameters.
|
Events
Name | Description | |
---|---|---|
![]() ![]() | CommandSent |
Occurs when a command is send to the server.
|
![]() ![]() | ResponseRead |
Occurs when a response is received from the server.
|
![]() ![]() | StateChanged | |
![]() ![]() | TransferProgress |