CancelTransfer Method (FileTransfer)
Cancels an IND$FILE transfer or AS/400 data transfer in progress. If the host has stopped responding, you may need to use the AbortTransfer method instead.
expression.CancelTransfer()
where
expression is a variable that represents a
FileTransfer Object