The following scripts provide examples to guide you in your own script design. Each script is named per its function. For example, the ConfigureAdminUser script can be used to configure an administrative user account. If you do not have the software to open or edit CS or VBS files, you can open the script in a text editor to review the script for details of how it works and edit it. If you need help with custom scripts, contact GlobalSCAPE Professional Services.
|
Be sure to edit the scripts to reflect your system (usernames, passwords, paths, ports, etc.). |
Each of the scripts described below is available in a ZIP file. The scripts are organized in the ZIP file by how it is to be used. (e.g., CreatUsers.cs is in the Users folder.) Do not double-click the script file to open it. Double-clicking will cause it to execute. Instead, right-click the file then click Open with and select your text editor of choice.
C# Scripts |
VBS Scripts |
Description |
ARM.cs |
ARM.vbs |
Test a connection to the ARM database |
Backup.cs |
Backup.vbs |
Backs up and restores EFT Server configuration (without ARM) and then starts the server service |
BackupEx.cs |
BackupEx.vbs |
Specifies ARM parameters, restore configuration (from a backup), and then start the service |
ConfigureSite.cs |
ConfigureSite.vbs |
Configures a specific Site |
ConfigureUser.cs |
ConfigureUser.vbs |
Configure a user account |
CreateAdminUser.cs |
CreateAdminUser.vbs |
Create an administrator account |
CreateSite.cs |
CreateSite.vbs |
Create a Site |
CreateUsers.cs |
CreateUsers.vbs |
Create 1,000 users (for testing purposes) |
EventRuleCreation.cs |
OnTimerEventRuleCreation.vbs |
Create an Event Rule |
GetCertInfo.cs |
GetCertInfo.vbs |
For a specific Site, retrieve Trusted Certificate ID, description, and common name |
ODBCAuthOptions.cs |
ODBCAuthOptions.vbs |
Configure an ODBC Site |
PGP.cs |
PGP.vbs |
Import PGP key |
RemoveSite.cs |
RemoveSite.vbs |
Deletes a Site from the Server |
RetrieveAdminUser.cs |
RetrieveAdminUser.vbs |
Retrieves administrator permissions for a specific administrator account |
ServerIPBanEntry.cs |
ServerIPBanEntry.vbs |
Specifies IP address access on a Site |
ServerStats.cs |
ServerStats.vbs |
Retrieves Server statistics (uptime, properties, last modified time, last modified by account) |
SiteStats.cs |
SiteStats.vbs |
Retrieves Site statistics (last modified time, last modified by account) |
SSH.cs |
SSH.vbs |
Exports each SSH key and re-imports them with an altered name, creates list, adds all available keys to a user, assigns all keys in the list to the user |
UserIPBanEntry.vbs |
Retrieves a user’s IP address access |
|
UserSettingsTemplates.cs |
No script defined |
Creates a User Settings Template |
UserStats.cs |
UserStats.vbs |
Retrieves user account statistics (last modified time, last modified by account, whether account is locked) |
VFS.cs |
No script defined |
Retrieves VFS settings for all folders for a particular site |
WindowsAuthOptions.cs |
WindowsAuthOptions.vbs |
Retrieves and updates Windows authentication options for an Active Directory site |