Windows Media Services SDK banner art
PreviousNext

FtsOnTransferCompleted Event

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 of how many bytes were transferred. The File Transfer object is NSFile, and the code in the subroutine is 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
PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.