Progress Notification


To receive progress statistics about an ongoing file transfer, register the kind of transfer information you want with FtsRegisterStatusCallback. Typical kinds of requests would be to notify the caller every 100KB of the file transfer or every 10 percent of the file transfer. Notifications can also be requested about the number of packets received, as well as the number of bogus packets, duplicate packets, dropped packets, and so on. Progress notifications are processed by the FtsOnTransferProgress event. Read the appropriate properties and take the appropriate action in an FtsOnTransferProgress subroutine. You can revoke a progress notification by calling the FtsRevokeStatusCallback method.

Note that progress notifications trigger only the FtsOnTransferProgress event. The values of transfer progress properties (such as NumPacketsDropped) are continuously available.

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