GetRequestStream Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves the stream used to upload data to an FTP server.
Namespace: System.Net
Assembly: System.Ftp (in System.Ftp.dll)
Syntax
'Declaration
Public Overrides Function GetRequestStream As Stream
public override Stream GetRequestStream()
public:
virtual Stream^ GetRequestStream() override
abstract GetRequestStream : unit -> Stream
override GetRequestStream : unit -> Stream
public override function GetRequestStream() : Stream
Return Value
Type: System.IO. . :: . .Stream
A writable Stream instance used to store data to be sent to the server by the current request.
Remarks
Set the request properties before calling the GetRequestStream method. After writing the data to the stream, you must close the stream prior to sending the request.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.