FtpWebRequest.Abort Method ()

 

Terminates an asynchronous FTP operation.

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

override Abort : unit -> unit

If there is no operation in progress, this method does nothing. If a file transfer is in progress, this method terminates the transfer.

System_CAPS_noteNote

This member outputs trace information when you enable network tracing in your application. For more information, see Network Tracing in the .NET Framework.

The following code example demonstrates how the user can terminate an asynchronous upload of a file from the local directory to the server.

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

.NET Framework
Available since 2.0
Return to top
Show: