libURLSetFTPStopTime | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | internet library | ||||||
Summary | |||||||
Introduced | 1.1.1 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Keyword: ftp, file Message: startup, openBackground, preOpenStack, openStack, preOpenCard Command: delete URL, libURLftpUpload, libURLDownloadToFile, get, libURLSetFTPMode Glossary: timeout, application, main stack, handler, group, socket, standalone application, Standalone Application Settings, message, server, command, LiveCode custom library Library: Internet library, library | ||||||
Security | network | ||||||
Description | Use the libURLSetFTPStopTime command to increase the efficiency of multiple FTP transfers. When LiveCode opens a socket to a host in order to upload or download a file via ftp, or to delete a file, it leaves the connection open for a time after the transaction completes. If another file is requested from the same FTP server during that time, LiveCode uses the same socket instead of opening another one. This saves time if you are transferring multiple files with the same server, since the socket does not need to be set up again for each file. By default, the timeout value is 15 seconds.
| ||||||
Tags | networking |