FtpWebRequest.GetRequestStream Method ()
Retrieves the stream used to upload data to an FTP server.
Assembly: System (in System.dll)
A connection to the FTP server could not be established.
Set the request properties before calling themethod. After writing the data to the stream, you must close the stream prior to sending the request.
BeginGetRequestStream method in place of .blocks while waiting for the stream. To prevent this, call the
This member outputs trace information when you enable network tracing in your application. For more information, see Network Tracing in the .NET Framework.
Notes to Callers:
This method generates network traffic.
Available since 2.0