The FtpWebRequest type exposes the following members.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAbort
Cancels an asynchronous FTP request.
(Overrides WebRequest..::..Abort()()()().)
Public methodSupported by the .NET Compact FrameworkBeginGetRequestStream
Begins an asynchronous request for a Stream instance to use to write data.
(Overrides WebRequest..::..BeginGetRequestStream(AsyncCallback, Object).)
Public methodSupported by the .NET Compact FrameworkBeginGetResponse
Begins an asynchronous request for a FtpWebResponse instance to use to write data.
(Overrides WebRequest..::..BeginGetResponse(AsyncCallback, Object).)
Public methodSupported by the .NET Compact FrameworkCreateObjRef
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 methodSupported by the .NET Compact FrameworkEndGetRequestStream
Ends a pending asynchronous request for a Stream instance.
(Overrides WebRequest..::..EndGetRequestStream(IAsyncResult).)
Public methodSupported by the .NET Compact FrameworkEndGetResponse
Ends a pending asynchronous request for a FtpWebResponse instance.
(Overrides WebRequest..::..EndGetResponse(IAsyncResult).)
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
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 methodSupported by the .NET Compact FrameworkGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkGetRequestStream
Gets a Stream instance to use to write request data.
(Overrides WebRequest..::..GetRequestStream()()()().)
Public methodSupported by the .NET Compact FrameworkGetResponse
Returns WebResponse instance to use to write data.
(Overrides WebRequest..::..GetResponse()()()().)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkConnectionGroupName
When overridden in a descendant class, gets or sets the name of the connection group for the request.
(Inherited from WebRequest.)
Public propertySupported by the .NET Compact FrameworkContentLength
Gets or sets the Content-length HTTP header.
(Overrides WebRequest..::..ContentLength.)
Public propertySupported by the .NET Compact FrameworkContentType
Gets or sets the value of the Content-type HTTP header.
(Overrides WebRequest..::..ContentType.)
Public propertyStatic memberSupported by the .NET Compact FrameworkCreator
Gets the instance of IWebRequestCreate for registering with WebRequest.Create.
Public propertySupported by the .NET Compact FrameworkCredentials
Gets or sets the credentials to submit to the proxy server for authentication.
(Overrides WebRequest..::..Credentials.)
Public propertySupported by the .NET Compact FrameworkHeaders
Gets or sets a collection of the name/value pairs that make up the HTTP headers.
(Overrides WebRequest..::..Headers.)
Public propertySupported by the .NET Compact FrameworkLogWriter
Gets or sets the log writer used by this object.
Public propertySupported by the .NET Compact FrameworkMethod
Gets or sets the method for the request.
(Overrides WebRequest..::..Method.)
Public propertySupported by the .NET Compact FrameworkPreAuthenticate
Gets or sets a value indicating whether to send a preauthentication header with the request.
(Overrides WebRequest..::..PreAuthenticate.)
Public propertySupported by the .NET Compact FrameworkProxy
Gets or sets proxy information for the request.
(Overrides WebRequest..::..Proxy.)
Public propertySupported by the .NET Compact FrameworkRequestUri
Gets the URI of the request.
(Overrides WebRequest..::..RequestUri.)
Public propertySupported by the .NET Compact FrameworkSecurity Obsolete.
Public propertySupported by the .NET Compact FrameworkSslMode
Gets or sets SSL mode.
Public propertySupported by the .NET Compact FrameworkTimeout
Gets or sets the time-out value (in milliseconds) for a request.
(Overrides WebRequest..::..Timeout.)
Public propertySupported by the .NET Compact FrameworkTlsParameters
Gets or sets TLS/SSL security parameters.

Events

  NameDescription
Public eventSupported by the .NET Compact FrameworkCommandSent
Occurs when a command is send to the server.
Public eventSupported by the .NET Compact FrameworkResponseRead
Occurs when a response is received from the server.
Public eventSupported by the .NET Compact FrameworkStateChanged
Public eventSupported by the .NET Compact FrameworkTransferProgress

See Also