unload | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Removes a file that was placed in the local cache by the load command, or cancels a download or upload in progress. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, web | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: URL, file, ftp, http Command: revUnloadSpeech, libURLftpUpload, libURLDownloadToFile, get, load Function: result, cachedURLs, URLStatus Control Structure: function Glossary: non-blocking, upload, download, cache, container, expression, URL, command, keyword | ||||||
Security | network | ||||||
Description | Use the unload command to release memory used by a cached URL when you no longer need it. If the cachedURL is still being downloaded with the load command, the unload command cancels the download. The unload command can be used to cancel any non-blocking FTP or HTTP file transfer in progress, but it does not cancel file transfers that were initiated by using a URL container in an expression or by putting something into a URL. The unload command removes the cachedURL from the URLStatus function. This includes URLs that have been uploaded with the libURLftpUpload command, as well as those that have been cached with the load command.
| ||||||
Tags | networking |