Alternate Default File Paths for Select Commands

Top  Previous  Next

 

Robo-FTP 3.8 includes several changes designed to make it easier to replicate an entire working Robo-FTP installation to other computers. One of the challenges faced when transferring an installation is modifying command scripts to change hard-coded file paths. Several script commands now support extended search paths so you can omit the hard-coded paths and still be confident that your files will be found regardless of the current working folder.

 

The CALL, CHAIN and CRON commands use five alternate paths for maximum compatibility with previous versions of Robo-FTP. These paths are searched in the following order:

 

1.The current working directory.
2.The folder containing the currently executing command script.
3.< Documents >\Robo-FTP X.X\< Namespace >
4.< Installation Folder >\ProgramData\< Namespace >
5.< Installation Folder >

 

The AUDITDB, DBUSE, DIFF, GETDIFF, FTPDIFF, FTPGETDIFF, LOG, SESSIONLOG and TRACELOG commands use this path under the program installation folder:

 

< Installation Folder >\ProgramData\< Namespace >

 

... unless the current instance of Robo-FTP lacks the necessary Windows permission to write to that location, in which case the following path is used instead:

 

< Documents >\Robo-FTP X.X\< Namespace >

 

For the purposes of the alternate paths discussed in this topic:

 

< Documents > is the Windows Documents folder for the current Windows user. This folder is named "My Documents" in earlier versions of Windows.
< Installation Folder > is the directory where Robo-FTP is installed. Non-administrative users may not have permission to create files in this folder.
Robo-FTP X.X is the major and minor release number separated by a period, for example Robo-FTP 3.8.
A < Namespace > is a collection of related data. When Robo-FTP resolves a NameSpace to find a file, the full path and file name are written to the Trace Log.
Scripts is used by the CALL and CHAIN commands
SQLCE is used by the DBUSE command
SQLite is used by the AUDITDB and DBUSE commands
Cron is used by the CRON command
Snapshot is used by the DIFF, GETDIFF, FTPDIFF and FTPGETDIFF commands
Logs is used by the LOG, SESSIONLOG and TRACELOG commands

 

NameSpace data files are automatically included in settings files generated by the EXPORT command or via the Export Settings option under the File Menu in the main console window.

 

 
See also: Moving to Another Computer