FtsOnTransferCompleted Event

This event is triggered by the completion of an entire file transfer operation.

Syntax

NSFile_FtsOnTransferCompleted

Parameters

This event has no parameters.

Remarks

The following code example shows how to use FtsOnTransferCompleted to notify the user how many bytes were transferred. The File Transfer object is NSFile and the code in the subroutine will be called when a file transfer completed event is triggered. The code gets the number of bytes from the NumTotalBytesTransferred property and displays it to the user.

Sub NSFile_FtsOnTransferCompleted
   MsgBox nsfile.NumTotalBytesTransferred
End Sub
© 1996-1998 Microsoft Corporation. All rights reserved.