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 Server! v4 Test: 200,000 files in 1 folder Server! version: 4.0.0+

We had customers reporting that Server! v3 session threads may stall (and use up an entire CPU core) during directory listing if a single folder to be listed contains a large number of files, say north of 20,000.

First we tested our v3 to confirm the issue, then we tested many other FTP/SFTP servers, and found out that none of the tested competitors passed the test either. Some of them crashed around 10,000 files, the best ones crashed around 65,000.

Then we tested our own new Virtual File System that comes with Server! v4… and, well, we think that a picture is worth a thousand words: Continue reading

New release: FTP Script! v3.1.0.50

We have just released version of our FTP Script!

This new version comes with a series of nice improvements and additions to the local file management functions, such as:

  • The FileCopy function now supports wildcards and an optional Overwrite parameter
  • A brand new FileMove function, with the same parameters and usage criteria as the FileCopy function here above
  • A brand new FileEnum function to search for files in directories that supports wildcards and optional recursive search in subdirectories

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

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

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