Cancels the current file transfer operation initiated by the download method.
The onCancel callback will only be invoked while the file transfer operation has not yet completed.
onCancel
cancel( )
This method does not return anything.