Receiving Files

To receive a file:

  1. Start the receive operation before the sender starts sending to insure that all files will be transferred. If the receiver starts after the sender has begun sending a group of files, the receiver will receive the current file and all subsequent files. If only one file is being sent and the receive operation starts in the middle of the transfer, the file will be received.

  2. Start a receive operation with the FtsCancelFileTransferReceive method on the computer on which you want to receive the file(s). This is called listening.
  3. Wait until the file is sent by the sender.

The receiver can cancel a file transfer with the FtsCancelFileTransferReceive method.

Status and progress of the transfer can be read through events and properties during the file transfer and at the transfer completion. See Notifications for information about status and notifications.

© 1996-1998 Microsoft Corporation. All rights reserved.