FtsCancelFileTransferReceive Method

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 Microsoft® Visual Basic® Script Error object.

The following codes are passed to the Error object:

Decimal Value Description (HRESULT)
0 The action requested was successful. (S_OK)
1 The action requested cannot take place because the transfer has not started or has already completed. (S_FALSE).
-2147467259 The action requested could not take place for an unspecified reason.(E_FAIL).

Remarks

A transfer cannot be cancelled if it has already completed or has been defined but is not yet in operation.

© 1996-1998 Microsoft Corporation. All rights reserved.