Forum Discussion
TheEndless
11 years agoRoku Guru
"Travonisoft" wrote:
My main question is this:
Why is there a function AsyncGetToFile(), when said function will not place that file in the temp directory without handling a message from a messagePort?
Shouldn't it place that file straight into the tmp:/ directory without me having to handle a message.
It does exactly that. The message on the message port is just to let you know when the operation is complete (or if it failed). If you don't listen for it, the image will still get saved to tmp:/. If it's not, then I'd bet you're letting the roUrlTransfer go out of scope before the operation completes. Doing so will cancel the request.