Hi Everyone,
On MODLR, you can now interact with an FTP server using the new FTP process functions. The FTP feature is available starting with Build 2.4.524.
To get started, you first need to establish an FTP connection using the FTP function
This creates an FTPClient object which you can use interact with the FTP server. To test that a connection has been established, use
Here is an example process code demonstrating what you can do.
To learn more about the new FTP functions, head over to the MODLR Docs.
On MODLR, you can now interact with an FTP server using the new FTP process functions. The FTP feature is available starting with Build 2.4.524.
To get started, you first need to establish an FTP connection using the FTP function
ftp.Connect()
:
JavaScript:
const client = ftp.Connect("sftp", "example.domain.com", 22, "johndoe", "mypassword");
IsConnected()
method.
JavaScript:
if (client.IsConnected()) {
console.log('YAY! We good.');
// Start doing some awesome stuff with your newfound talents...
} else {
console.log(':(');
}
To learn more about the new FTP functions, head over to the MODLR Docs.
Last edited: