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.

Now, let’s have a look at it in the other three supported scripting languages, but without comments (to keep this article within an acceptable length). Let’s start with PascalScript:

Now let’s see it in C++Script:

And then last scripting language: BasicScript.

Print Friendly, PDF & Email
Bookmark the permalink.

Comments are closed.