libURLErrorData | ||||||||||
Type | function | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Associations | internet library | |||||||||
Summary | Returns any error that was caused during a download that was started with the load command. | |||||||||
Introduced | 1.1.1 | |||||||||
OS | mac, windows, linux, web | |||||||||
Platforms | desktop, server | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Keyword: https, ftp, URL, http Glossary: LiveCode custom library, return, Standalone Application Settings, download, cache, standalone application, command, server Command: libURLSetLogField, load Function: libURLErrorData, cachedURLs, URLStatus Library: Internet library Control Structure: function | |||||||||
Security | network | |||||||||
Description | Use the libURLErrorData function to check the error status of a download. If the download failed because of a server error--for example, if a requested web page was not found--the libURLErrorData function returns the error message sent by the server. If the download failed for another reason--for example, if the server did not respond, or if an invalid URL was supplied--the libURLErrorData function returns an error message generated by the Internet library.
| |||||||||
Tags | networking |