IMPORT Import configuration settings from a local file
<< Click to Display Table of Contents >> Navigation: Robo-FTP User's Guide > Script Programming > Script Commands > All Script Commands > IMPORT Import configuration settings from a local file |
Syntax: |
IMPORT |
[ file name ] |
Arguments: |
[ file name ] |
Variable or string defining a file or path name; if no path is defined Robo-FTP’s install folder is used. |
Options: |
/pw=xx |
Specify a password to unlock a password-protected settings file. This option is only necessary if the setting file was originally exported with a password. |
This script command imports a set of configuration settings from the specified file and adds them to the current configuration. Current settings are overwritten, except those relating to the software license. The import operation may be used to restore a previous set of configuration settings or to install settings from a single prototype machine onto multiple other Robo-FTP installations. If the settings file contains compressed files from the %installdir\ProgramData and the %installdir\UserData directories they will also be inflated and restored.
Robo-FTP will only import files exported in version 3.8 or later if they are named with the .sar file extension. Earlier versions of Robo-FTP expect settings files to be named with .set as the file extension. As a general rule, the current version of Robo-FTP is able to import settings files created in older versions but older versions cannot import files created in newer versions.
When settings are imported to an existing installation of Robo-FTP neither the licensee name (registry value: License) nor the serial number (registry value: SerialNumber) are imported if they already exist.
Other methods to import settings include:
•Configurator Settings menu Import/Export buttons
•Launching Robo-FTP with the -g command line switch
•Pulling them directly from the system registry by using command line switches when launching the Configurator.
Settings are exported using the EXPORT command or via Export Settings… command under the File menu.
Related command(s): EXPORT, ACTIVATELIC, BROWSE
See also: Moving to Another Computer, Configurator command line switches