LiveCode Networking Layer

The Networking Layer provides network transfer support for up to 7 protocols. Depending on which LiveCode edition you are using you can deliver multiple requests simultaneously making the network requests in your application run much faster.

LiveCode has strong networking abilities. The basic functionality is provided by libURL, and this has now been enhanced by the newer tsNet layer. The tsNet Networking Layer in LiveCode allows you to do asynchronous uploads and downloads in your app. Depending on the how big your files are and how many you are working with, this can speed up the networking features in your app by anything from 3x up to 250x.

It also allows support for sFTP, TLS and emails via SMTP. tsNet wraps the existing libURL library commands in LiveCode, meaning that you do not have to rewrite your scripts written in older or Community versions of LiveCode to experience the speed benefit delivered by tsNet. Just run your script in the latest version and enjoy the transformation. To benefit from tsNet you need to be running LiveCode 8.1 or later, and have a Commercial (Indy or Business) edition.

Open Source

Upload and download one file at a time (blocking or synchronous actions)

Access http, https, ftp

Download files in parallel provided it is to different servers (asynchronous)

Upload files in parallel to different servers via FTP only (asynchronous)

Receive messages when the transaction is completed

Receive errors if the transaction fails

Full control over headers in FTP

All functionality provided by the libURL library

Indy

All Community features plus

Access SFTP, FTPS/TLS, SMTP, SMTPS and SMTP/TLS

Upload and download more than one file simultaneously via HTTP, HTTPS and FTP (asynchronous, non-blocking)

Upload and download one file at a time via SFTP, SMTP, SMTPS, SMTP/TLS (blocking)

Send an e-mail via any SMTP or SMTPS server using a single function call

Use SFTP authentication by username/password

SMTP(S/TLS) / SFTP downloads and uploads via a variable, using available system memory

All operations support callbacks, giving you vital information when your action is complete

Send custom commands separately to your server via FTP and SFTP eg to create directories, remove files or change permissions.

Business

All Community and Indy features plus:

Non-blocking, asynchronous operations on SFTP, SMTP, SMTPS and SMTP/TLS

SFTP authentication via public key authentication giving the best possible security

SMTP(S/TLS) / SFTP downloads and uploads can either be via file or via variable – you are not limited by the memory available to your variable

Ability to generate public / private key pairs suitable for use with SFTP – no need for an external application to create these

Ability to send additional raw commands along with FTP and SFTP transfers to be executed before or after the transfer completes

Learn more about the LiveCode Networking Layer

Learn More

Steven CrightonLiveCode Networking Layer