Maintenance release: FTP Script! v3.1.6.56

We have just released version of our FTP Script!

This version delivers a hot-fix for the bug found in the Download function that affects only downloads to UNC destinations. If you are using scripts that download files to UNC paths, you are encouraged to download and install this update.

As usual you can download the latest version from our web site. Thank you!

Monitor a directory, and upload/archive files as they arrive FTP Script! version: 3.1.6+

Monitoring a directory for certain files, and as soon as they become available (someone puts them in that directory) upload them somewhere else and then move the original files to a different location (archive) on the local disk. This is one of the most common questions from our FTP Script! users.

For such reason we have prepared the sample script below. It will probably fit the most common cases, and it’s a decent learning tool as well as starting point to create your own (more complex) scripts to accomplish your very own particular task.  Continue reading

Scripting lesson: using scripting and session info Server! version: 4.0.13+

This articles shows how to use scripting, event-handling and session information from within Server! For the sake of this example we will only log such information in the log file, but in real-life production scenarios you can use these info as you wish (for example you may want to send them via email to someone, or even make decisions based upon them).

Let’s start by preparing the script that – as we said – will log some info in your Server!’s log file:

We save the above script with the following name/description: “Log several client and connection info”.

Then we add an event-handler to trigger the execution of the script. Since the script contain references to file-transfer-related variables (VirtualObjectName and ObjectName) it seems obvious to trigger its execution upon occurrence of a file-transfer-related event. For the sake of this example we have chosen the AfterFileUpload event, which occurs every time a file is successfully uploaded by a client onto the server. Continue reading

Scripting lesson: email a list of all uploaded files Server! version: 3.1.21+

One of the ready-made script examples that is installed along with Server! shows how to notify someone via email each time a file is uploaded. But what if you wanted to send only one email, at the end of the file transfer session, with the list of all files that were uploaded in such session?

You can easily do that with 2 simple scripts bound to 2 different event handlers.

First of all you will need a script bound to the “AfterFileUpload” event handler, to keep the list up to date:

Continue reading

Extending your SFTP Server: Lesson #1

This is the first of a series of video lessons to help our users learn how to unleash the full power of Server! by writing scripts that are executed automatically upon occurrence of certain events.

This first script is kind of a “hello world”, but it’s meant to give our users a glimpse of the features Server! puts at their disposal.

Once you’ve watched the video, if you don’t want to re-type the script by hand, here’s the source code for you, ready to copy and paste.


What’s next in FTP Script!?

While our beta testers are hunting for bugs in FTP Script! v3.0-BETA1, here’s a cool feature that will be introduced in BETA2 next week.

Let’s look at a typical script that uploads a bunch of PDF files and then downloads a bunch of XLSX files from the same server:

Continue reading

New release: FTP Script! v2.1.1.31

A new version of FTP Script! has just been released. This new version adds two more functions to the scripting framework: ComputerName and CurrentUser. These new methods will help script writers to build more parametric and flexible scripts that can be run unaltered on several different computers.

As usual you can get the latest version from our web site. Thank you!

New release: FTP Script! v2.1.0.30

We have just released a new version of our FTP Script! software. This new version features a refined SSL/TLS socket layer to keep your file transfers safe from the Poodle bug.

It also features a totally new license activation engine, so if you are a registered customer, please, before updating contact us and request your new license code.

As usual, you can download the latest version from our web site.