Stop FTP Transfer

0 votes
asked Mar 28, 2011 by Bizertino (150 points)
edited Mar 28, 2011

Hello It's possible to stop the transfer of data when the PutFile was called ?

Applies to: Rebex FTP/SSL

1 Answer

0 votes
answered Mar 28, 2011 by Lukas Pokorny (124,970 points)
edited Mar 28, 2011
 
Best answer

Yes, it is. Call the Abort method (in Rebex FTP/SSL) or AbortTransfer method (in Rebex SFTP). In practice, this means you either have to call it from a TransferProgress event handler or from a thread which has not called the PutFile method itself.

...