Chilkat Lianja Extension

From Lianjapedia
Jump to: navigation, search

Overview

Chilkat is a cross-language, cross-platform API providing 90+ classes for many Internet protocols, formats, and algorithms. For example: SMTP, SSH, SFTP.

These third-party classes are available for Lianja on Windows. From Lianja v9.0, the chilkat.dll extension is included in the App Builder distribution in

drive:\lianja\extensions\

On first activation (unlocking), the classes run under a 30 day trial. After the trial, a license must be purchased from Chilkat Software to continue use.

Chilkat Links

extensions.ini

Extensions are loaded automatically by placing directives in the user_extensions.ini file in the Lianja extensions directory. The distribution includes the file extensions.ini. This should be used as a template for your user_extensions.ini file. The extensions.ini will be overwritten by the Lianja installer; your user_extensions.ini will not.

Here is an example of a user_extensions.ini file:

[windows]
library=chilkat.dll
[linux]
#library=example.so
[mac]
#library=example.dylib

Note: for the Lianja Cloud Server, the extensions directory is a sub-directory of the wwwroot directory. By default, this is:

  • Windows
C:\lianja\cloudserver\tenants\public\wwwroot
  • Linux
/opt/lianja/cloudserver/tenants/public/wwwroot

Chilkat Python

The Chilkat2 Module for Python can also be used in Lianja Python scripts. The Python version shipped with Lianja is Python 3.7, so the corresponding Chilkat2 for Python 3.7 is required.

Chilkat Python Links

Windows

  1. Download Chilkat2 for Python 3.7 32-bit
  2. Unzip the downloaded file
  3. Copy the extracted chilkat2.pyd to
drive:\lianja\cloudserver\scriptinglanguages\python3\Lib\site-packages\