To specify a default Fileshare Server, use the /s option in the Fileshare Client configuration file. For example:
/s server2
tells the Fileshare Client to use the default Fileshare Server named server2. The File Handling Redirector module redirects all file I/O to this server unless you:
- Specifically define a file as a local file. See the section Client Configuration in the chapter Configuration for further information.
- Specify that a file is on a different Fileshare Server, using the Fileshare Client configuration file. See the section Client Configuration in the chapter Configuration for further information
- Specify a different Fileshare Server as part of the filename in your program (see above)
Note:
- The Fileshare Client configuration file can contain a maximum of 16 unique Fileshare Server names
- Filenames appearing in the configuration file are case-sensitive unless defined by the /r option (DYNCONFIG), in which case they are not case sensitive when run in Windows
- The filename in the configuration file must appear exactly as it will appear to the File Handling Redirector module on the first OPEN request passed by your program