Previous | Next |
Cancels an ongoing file transfer receive operation.
Syntax
NSFile.FtsCancelFileTransferReceive
Parameters
This method has no parameters.
Return Values
This method does not return a value. However, it does return a Microsoft COM HRESULT error code to the Error object in Microsoft® Visual Basic® Scripting Edition (VBScript).
The following codes are passed to the Error object.
Decimal value | Mnemonic | Description |
0 | S_OK | The action requested was successful. |
1 | S_FALSE | The action requested cannot take place because the transfer has not started or has already finished. |
-2147467259 | E_FAIL | The action requested did not take place for an unspecified reason. |
Remarks
A transfer cannot be cancelled if it has already finished, or has been defined but is not yet in operation.
Previous | Next |