Sent when updates on ongoing url requests are communicated.
# Metadata
Platforms: mobile, desktop OS: ios, android, web Introduced: 4.6.1 Security:
# Syntax
urlProgress pUrl, pStatus, [pMessage, [pBytesTotal]]
# Params
- pUrl : The name of the url for which a message is being sent. - pStatus : The type of update message being sent - pMessage : A message sent with some of the status parameters - pBytesTotal : Empty if the web server does not send the total data size.
# Examples
on urlProgress pUrl, pStatus if pStatus is "downloaded" then answer "Finished downloading" with "Okay" end if end urlProgress
on urlProgress pUrl, pStatus, pMessage if pStatus is "error" then answer "Encountered Error:" && pMessage with "Okay" end if end urlProgress
# Description
Sent when updates on ongoing url requests are communicated. This message is periodically sent to the object whose script initiated the operation.
>*Warning:* The urlProgress message is not part of the libUrl or tsNet > libraries. It is instead implemented in the mobile engine, whose > network-related functionality can not be used together with those > libraries in a standalone. Adding either of the "Internet" or "tsNet" > Inclusions will result in them overriding/replacing any network-related > functionality that is implemented in the mobile engine, including the > urlProgress message. > To use the urlProgress message in a mobile standalone, ensure that > the "Internet" and "tsNet" Inclusions are not added in the standalone > settings.
# Tags
# See