Share via


GetResponseStream Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves the stream that contains response data sent from an FTP server.

Namespace:  System.Net
Assembly:  System.Ftp (in System.Ftp.dll)

Syntax

'Declaration
Public Overrides Function GetResponseStream As Stream
public override Stream GetResponseStream()
public:
virtual Stream^ GetResponseStream() override
abstract GetResponseStream : unit -> Stream 
override GetResponseStream : unit -> Stream 
public override function GetResponseStream() : Stream

Return Value

Type: System.IO. . :: . .Stream
A readable Stream instance that contains data returned with the response; otherwise, Null if no response data was returned by the server.

Remarks

After reading the data, you must close the stream. The stream is automatically closed when you close the FtpWebResponse object that contains it.

.NET Framework Security

See Also

Reference

FtpWebResponse Class

System.Net Namespace