FtpWebResponse.ResponseUri Property

 

Gets the URI that sent the response to the request.

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

override ResponseUri : Uri with get

Property Value

Type: System.Uri

A Uri instance that identifies the resource associated with this response.

Because of server- and resource-specific behaviors, such as redirection, the value returned by the RequestUri property is not always the same as the value returned by the ResponseUri property.

For requests that use the UploadFileWithUniqueName method, ResponseUri returns the name of the file on the server.

The following code example displays the value of this property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: