Rebex FTP for .NET

Ftp.Abort Method 

Aborts the current operation.

public void Abort();

Remarks

The operation need not end immediately, it will finish within the interval specified by AbortTimeout. Aborting data transfering operations (including GetList, GetRawList and GetNameList) may take twice the amount of time specified by AbortTimeout.

The aborted operation will end either successfully, or with FtpException of status OperationAborted or Timeout. The Ftp object may remain in Reading, Sending or Processing state. In this case, call Flush to get back to the Ready state.

See Also

Ftp Class | Rebex.Net Namespace