On 12 Jul 2007, at 04:41, Stephen Barncard wrote:
I guess it's probably best to quit on a file boundary (the movies are <5mb), rather than in the middle of a file.

If you want to quit during a download, there are probably two ways.

Use "load url" and put the data into the local file in the callback handler. Then you can use "unload url" to stop the download at any time.

The second way is not officially supported, but for "blocking" calls such as "get url", you can call an internal libUrl handler like this:

    ulCancelRequest <url>

However, there's no guarantee this will exist in future versions of libUrl or have the same name.

libUrlResetAll is a bit brutal. In addition to closing all sockets, as Chipp mentioned, it will destroy any cached urls previously loaded with "load url".

Cheers
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to