Scripting lesson #2: server to server file transfer

Thanks to the object-oriented design of FtpScripter, it’s very easy to write a script to act as a “proxy” and transfer files between two remote file servers, even if such file servers don’t support the same protocol. In the following example we transfer files from a FTP to a SFTP server, using the FtpScripter client as an intermediate point between the two. Continue reading

Scripting lesson #1: “hello world”

Let’s get started with FtpScripter’s scripting languages. The following script can be considered a sort of “hello world” script. It just connects to (and disconnects from) an SFTP server. All scripts that will be published in this section will be syntax highlighted and well commented, in an effort to make them self-explanatory. Here’s the first one, in JavaScript, fully commented. Continue reading