7.2 Accessing Remote Files
Enabling your applications to use AcuServer requires that your applications reference remote files with remote name notation. To ensure that all references to remote files include remote name notation, you need to know how your application currently finds data files.
- Are file paths defined in the application code?
- Are file name aliases defined in the runtime configuration file?
- Are the runtime configuration variables FILE_PREFIX or CODE_PREFIX used to define search paths?
If your file paths are hard-coded in your source code, you'll need to modify them to add remote name notation. A better approach is to remove hard coded paths and to replace them with the FILE_PREFIX configuration variable, or name aliases described in the following sections.
Note: If your application exclusively uses FILE_PREFIX and/or CODE_PREFIX to define data and code file search paths, all you need to do to enable your application to use AcuServer is to add remote paths to the definition of FILE_PREFIX and CODE_PREFIX. See the sections that follow.
Acucorp, Inc. Voice: 800.262.6585 (U.S.A. and Canada) Voice: 858.689.4500 Fax: 858.689.4550 Please share your comments on this manual or on any Acucorp documentation with the Acucorp Communications Department. |