Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

FtpWebResponse.GetResponseStream Method

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

GetResponseStream()

Gets the Stream used to read the body of the response from the server.

Declaration
public override Stream GetResponseStream()
Returns
Type Description
Stream

A Stream user to read the body of the response.

Overrides
WebResponse.GetResponseStream()
Remarks

CAUTION: You must call either the Close() or the FtpWebResponse.Close method to close the stream and release the connection for reuse. It is not necessary to call both Stream.Close and FtpWebResponse.Close, but doing so does not cause an error. Failure to close the stream will cause it to remain open and your application may run out of connections.

In This Article
  • GetResponseStream()
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies