FtpWebRequest.Abort Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Terminates an asynchronous FTP operation.

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

Public Overrides Sub Abort

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: