Previous | Next |
Returns the status of the File Transfer object.
Syntax
NSFile.TransferStatus
Return Values
The TransferStatus property returns the following values.
Value | Description |
0 | A transfer has been defined, but is not yet in operation. |
1 | A transfer is preparing to operate. |
2 | A receiver is listening (waiting for data). |
3 | A transfer is in progress. |
5 | A transfer is completed. |
Remarks
Changes in the value of the TransferStatus property indicate that the status of the transfer object has changed. Any change in the status of the transfer object triggers the FtsOnStatusChanged event. If any other events coincide with a change in the transfer status, they can also be triggered. For example, the completion of a file transfer triggers FtsOnTransferCompleted.
Transfer progress notification callbacks operate independently of the status notifications, even when a status notification is requested by the callback. For more information about transfer progress notifications, see FtsRegisterStatusCallback.
Previous | Next |