FtsCancelFileTransferReceive Method

Description

Cancels an ongoing file transfer receive operation.

Syntax
object.FtsCancelFileTransferReceive 

ParameterDescription
This method has no parameters.

Return Value

This method does not return a value. However, this object does return a Microsoft COM HRESULT error code to the 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 unspecifie reason.(E_FAIL)

Remarks

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

See Also

Return to File Transfer Reference.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.