Internet library | |
Type | library |
Dictionary | LCS |
Library | LiveCode Script |
Synonyms | internet library,internet libraries |
Related | Glossary: protocol, FTP, HTTP, LiveCode custom library |
Description | The LiveCode custom library that supports use of the ftp and http protocols. |
Tags | networking |
Type | Name | Summary | Syntax |
---|---|---|---|
command | delete URL | Removes a file or directory from a server, or removes a file from your system. | delete URL <URLtoDelete> |
- - - | libURLDownloadToFile | Downloads a file from an Internet server asynchronously via FTP, HTTP or HTTPS | libURLDownloadToFile <downloadURL>, <filePath> [, <callbackMessage>] |
- - - | libURLftpUpload | libURLftpUpload <value>, <uploadURL> [, <callbackMessage>] | |
- - - | libURLftpUploadFile | Uploads a file to an Internet server asynchronously via FTP. | libURLftpUploadFile <filePath>, <uploadURL> [, <callbackMessage>] |
- - - | libURLSetAuthCallback | Allows HTTP Server authentication message handling by a callback routine. | libURLSetAuthCallback |
- - - | libURLSetCustomHTTPHeaders | Sets the headers to be sent with each request to an HTTP server. | libURLSetCustomHTTPHeaders <headersList> |
- - - | libURLSetDriver | Sets the driver to be used by the libURL library for network transfers. | libURLSetDriver <driver> |
- - - | libURLSetExpect100 | Allows for a '100 Continue' header response to be received from the server | libURLSetExpect100 <limit> |
- - - | libURLSetFTPListCommand | Switches between sending LIST or NLST formats when listing the contents of an FTP directory. | libURLSetFTPListCommand {"LIST" | "NLST"} |
- - - | libURLSetFTPMode | Switches between active and passive mode for FTP transfers. | libURLSetFTPMode {"active" | "passive"} |
- - - | libURLSetFTPStopTime | libURLSetFTPStopTime <timeoutInSeconds> | |
- - - | libURLSetLogField | Specifies a field for logging information about uploads and downloads. | libURLSetLogField <longFieldDescriptor> libURLSetLogField "none" |
- - - | libURLSetSSLVerification | Allows for server credential authentication. | libURLSetSSLVerification {true|false} |
- - - | libURLSetStatusCallback | Sets up a callback message to be sent periodically during uploads and downloads. | libURLSetStatusCallback [<messageName>[, <objectLongID>]] |
- - - | load | Downloads the file specified by a URL to a cache where it can be used by another handler. | load [URL] <url> [with message <callbackMessage>] |
- - - | post | Sends data to a web server using the POST action of HTTP. | post <data> to URL <destinationURL> |
- - - | resetAll | Closes all open sockets and halts all pending Internet operations. | resetAll |
function | cachedURLs | Returns a list of the URLs that have been downloaded and copied to the cache using the load command. | the cachedURLs cachedURLs() |
- - - | libURLErrorData | Returns any error that was caused during a download that was started with the load command. | libURLErrorData(<url>) |
- - - | libURLFormData | libURLFormData formats data in the standard format suitable for sending to form processing CGIs and other processes on a web server. | libURLFormData(<key1>, <value1> [, <key2>, <value2> ...]) |
- - - | libURLftpCommand | libURLftpCommand(<ftpCommandLine>, <host> [: <port>][, <username> [, <password>]]) | |
- - - | libURLLastHTTPHeaders | Returns the value of the httpHeaders property used for the previous HTTP request. | libURLLastHTTPHeaders() |
- - - | libURLLastRHHeaders | Returns the headers sent by the remote host in the most recent HTTP transaction. | libURLLastRHHeaders() |
- - - | libURLMultipartFormAddPart | This function lets you add parts to a multipart form one at a time. It also lets you optionally specify the mime type and transfer encoding for each part. This can be useful where the mime type or transfer encoding has to be specified. | libURLMultipartFormAddPart(<formData>,<partName>, <value> [,<MIMEtype>, <encoding>]) |
- - - | libURLMultipartFormData | libURLMultipartFormData formats data in the way described in RFC 1867. | libURLMultipartFormData(<formData>, <key1>, <value1> [, <key2>, <value2> ...]) libURLMultipartFormData(<formData>, <array>) libURLMultipartFormData(<formData>) |
- - - | libURLVersion | Returns the version of the Internet library. | libURLVersion() |
- - - | URLStatus | Returns the status of uploads and downloads that were started with the load, libURLDownloadToFile, libURLftpUpload, and libURLftpUploadFile commands. | the URLStatus of <url> URLStatus(<url>) |
keyword | ftp | Used as a URL type with such commands as put and get to designate a file or directory on an FTP server. | ftp |
- - - | http | Used as a URL type with such commands as put and get to designate a file on the World Wide Web. | http |
- - - | https | Used as a URL type with such commands as put and get to designate a file on the World Wide Web. | https |