- EFT Server 6.0.x - 6.2.x (NOT compatible with 6.3.x)
- EFT Server 5
- Not applicable for any version of Secure FTP Server
**This topic is for advanced users. If you are unfamiliar with running Windows scripts, seek help from your network administrator or contact GlobalSCAPE support.**
DISCUSSIONCopying or migrating EFT Server configuration might be necessary for several reasons, such as:
- Moving a Proof of Concept (PoC) in your staging environment without recreating all the settings and configuration data
- Creating a standard configuration for installation on multiple computers
- Updating EFT Server software with a fresh install rather than patching
The help topic "Copying an EFT Server Configuration to Several Computers" provides the steps to take before moving EFT Server to another location.
If EFT Server's physical file system has been moved, you need to update EFT Server configuration to point to the new location. In the EFT Server administration interface, you specify the path to the Site's root folder; however, pointing to the new root folder causes EFT Server to lose the permissions assigned to EFT Server’s Virtual File System (VFS). To retain all relevant folder permissions and virtual folders, download and extract the scripts in VFS-MigrationScript.zip and use the scripts to copy the VFS permissions to the new root folder structure.
To move the EFT Server root folder
- Backup the following files in the EFT Server installation directory:
- FTP.cfg
- [YourSite].aud
- All .bak and .update files
- All certificates/keys/PGPkeys
- STOP all sites so that user activity (such as folder creation) does not interfere with the migration process.
- Run the eftVFSExport.vbs script to save permission configuration for the EFT Server Virtual File System (VFS).
- Copy the current EFT Server Root to the new location. It is important that you copy and NOT move the file system, in case you encounter any errors in the root migration process.
- Change the EFT Server root folder to the new location:
- In the administration interface, expand the Server node, then click the Site node.
- On the General tab, in the Site root folder box, specify the new path, then click Apply.
- Run the eftVFSImport.vbs script to restore folder permissions.
- Verify that permissions have been restored and all virtual folders exist.
- Review and update Event Rules to point to the new path, if necessary.
- Delete the previous root location, if necessary.
- Start the sites to resume user activity.
Running the scripts
The import and export scripts are visual basic scripts designed for use with cscript.exe. They both take a basic set of command line parameters.
Usage: eftVFSExport.vbs <arguments>
Required Arguments:
Argument | Description |
-s | EFT Server |
-port | admin port on EFT Server |
-u | admin username for EFT Server |
-p | admin password |
-site | the Site name on the server you are manipulating; You can use 0 if there is only one Site |
-f | path of text file to store/read data |
Example: cscript.exe eftVFSExport.vbs -s localhost -port 1100 -u admin -p secret -site 0 -f output.txt
NOTE: Use of CScript over WScript is strongly recommended for these scripts, because the scripts are very verbose.