Cortex API 2.16.0

February 18, 2022

New Features

The following new features are available in this release.

Cortex FTPS Script Module

Added FTPS script module with the following specifications:

  • create - create FTP client instance

  • connect - connects an FTP client instance to a remote FTP server

    • host - string - FTP server hostname (or IP address). Default: 'localhost'

    • port - number - FTP server port. Default: 21

    • username - string - Username for authentication. Default: 'anonymous'

    • password - string - Password for authentication. Default: 'anonymous@'

    • secure - mixed - Always set to true for control and data encryption

    • secureOptions - object - Additional options to be passed to tls.connect(). Default: (none)

    • connTimeout - number - How long (in milliseconds) to wait for the control connection to be established. Default: 10000

    • pasvTimeout - number - How long (in milliseconds) to wait for a PASV data connection to be established. Default: 10000

    • keepalive - number - How often (in milliseconds) to send a 'dummy' (NOOP) command to keep the connection alive. Default: 10000

  • list - list the contents of a remote directory

  • get - download data from the server

  • put - upload data to the server

  • mkdir - create a new directory on the server

  • delete - delete a file on the server

  • rename - rename a file on the server

  • chmod - change file permissions

  • close - close the connection with the server

Improvements

The following improvements are available in this release.

New addOutput options

We added an options parameter to the addOutput method in the Renderer scripting module.

There are no HTML output options.

CSV output options

  • column delimiters

    • , - comma

    • ; - semicolon

    • | - vertical line

  • line delimiters

    • - carriage return

    • \n - new line

    • \n - both

PDF output options

  • input

  • media

  • page-size

  • page-margin

  • pdf-profile

  • pdf-lang

  • tagged-pdf

  • no-artificial-fonts

  • no-embed-fonts

  • no-subset-fonts

  • force-identity-encoding

  • no-compress

  • no-object-streams

  • pdf-title

  • pdf-subject

  • pdf-author

  • pdf-keywords

  • pdf-creator

  • encrypt

  • key-bits

  • user-password

  • owner-password

  • disallow-print

  • disallow-copy

  • disallow-annotate

  • disallow-modify

You can refer to the Prince command-line documentation for more details on these options.

Resolved items

There are no resolved items in this release.

Last updated