JSXGetURL: set curl options from ExtendScript

JSXGetURL enhances ExtendScript in any Adobe Creative Cloud app, to make it easy to access servers using httphttps, sftp… – e.g. to download assets from a remote server.

JSXGetURL has been updated to use curl 8.7.1, OpenSSL 3.3.0, zlib 1.3.1 and Tightener 0.2.3.

A new feature is the ability to set curl options from your ExtendScript code:

// We can set curl options that accept integer
// or string values. 
// The names are listed here:
// https://curl.se/libcurl/c/curl_easy_setopt.html
// e.g. CURLOPT_FOLLOWLOCATION -> use "FOLLOWLOCATION"
// Calls to setCurlOpt are cumulative and persist
// for the session until cleared by a call to 
// clearCurlOpt()

getURL.clearCurlOpt();
getURL.setCurlOpt("FOLLOWLOCATION", 1);

It works with any of the Adobe Creative Cloud apps that support ExtendScript.

We also have a special version for InDesign Server.

JSXGetURL can be pre-activated and embedded into your own commercial scripts.

More info: https://www.rorohiko.com/jsxgeturl

This entry was posted in 2024, Mac OS X, News, Recipes, Scripters & Developers, Windows and tagged , , , , , , , , , , , . Bookmark the permalink.