Developer --> Technical Publications

     


Terminating Data Transfer Operations

The function URLAbort terminates a data transfer operation that was started by any function transferring data to or from a URL reference, including URLDownload , URLUpload , and URLOpen . When your application calls URLAbort , the URL Access Manager changes the state returned by the function URLGetCurrentState to kURLAbortingState and passes the constant kURLAbortInitiatedEvent to your notification callback function. When data transfer is terminated, the URL Access Manager changes the state returned by URLGetCurrentState to kURLCompletedState and passes the constant kURLCompletedEvent in the event parameter of your notification callback function.


© 2000 Apple Computer, Inc. (Last Updated 20 July 2000)