Administration with UNIX-like scripts
(requires Enterprise MFT)

In Enterprise MFT, administrative commands can be scripted, i.e. they can be saved to a file and the contents of the file can be executed as a script on the administrative site. For example, this could be used to add many users at once. This would be difficult to do using the CompleteFTP manager, and still tedious via the command-line. Instead, the script could be generated and then executed in one command.
Like command-line administration, scripts must be run with an SSH client that can run scripts remotely. On Windows, a popular free tool is plink, part of the PuTTY suite of free SSH tools.
The example below shows how to run a script on the Admin site using plink. Note that the port number of the Admin site (default 14983) must be specified via the -P option:

plink.exe -P 14983 admin@localhost -m adminscript.txt 
						

For example, the contents of a script that adds three users, and then adds a Windows folder mounted as "/downloads" to the virtual file system that belongs to user5 is shown below:

useradd -c "user 1" -n user1 -r password test1
useradd -c "user 2" -n user2 -r password test2
useradd -c "user 3" -n user3 -r password test3
folderadd -t windows -v /downloads -p d:\\downloads -u test1 -g users
						

When this script is run using plink, the password is prompted for, and the script is run on the Admin site of the server, as shown below. The scriptfile in this example is adminscript.txt: