The mftJS language (sneak-a-peek)

The mftJS language is like JavaScript, actually it is JavaScript, nearly 100% compatible with the ECMA5 specification, but it has several additional functions and methods specifically designed to develop Managed File Transfer scripts.

The following are some limitations with mftJS:

  • “use strict” will parse, but won’t have any effect
  • The regular expression engine (re2/regexp) is not fully compatible with the ECMA5 specification
  • mftJS targets ES5. ES6 features (eg: Typed Arrays) are not supported

In addition to the above, some specific limitations apply to the way regular expressions are handled. Therefore, the following syntax is incompatible:

  • (?=)  // Lookahead (positive), currently raises a parsing error
  • (?!)  // Lookahead (backhead), currently raises a parsing error
  • \1   // Backreference (\1, \2, \3, …), currently raises a parsing error

Aside from that, JavaScript programmers will feel extremely familiar with mftJS, and the added power of high-level MFT-specific functions, will make developing MFT tasks with this language a real breeze.

Let’s look at a short code sample:

Continue reading

Managed File Transfer (a teaser)

We are very excited to announce that the Syncplify team has started the development of Syncplify.me MFT!, a new software solution in the Syncplify lineup that will allow our users to create their own, flexible, automated, managed file transfer tasks.

With Syncplify.me MFT! you will be able to:

  • create source-code MFT tasks in mftJS which is an extended version of JavaScript specifically designed by Syncplify for managed file transfer
  • create visual MFT tasks by simply assembling “building blocks”, to bring the power of MFT to people who are not familiar with computer programming
  • run your MFT tasks in various ways, including:
    • invoking tasks from anywhere via our built-in REST API
    • running tasks from the command-line
    • running tasks by simply double clicking on script files
    • scheduling tasks using the built-in scheduler
    • scheduling tasks using your operating system’s native scheduler/cron
  • log every event in JSON-formatted log files for easy import and analysis in the most widespread log analyzers (ex: LogRhythm, ManageEngine, SumoLogic, Loggly, …)
  • and so so much more…

Stay tuned!