Configuring JFileServer
The JFileServer file server is configured using a simple XML file, the same configuration format is used by the Enterprise version of the file server.
The configuration is contained within the <fileserver> main section with various sub-sections to configure which file server protocols are enabled, configuration for each protocol, security and debug logging. Here's an overview of the XML configuration file :-
<fileserver>
<server>...</server>
<SMB>...</SMB>
<FTP>...</FTP>
<NFS>...</NFS>
<shares>...</shares>
<debug>...</debug>
<security>...</security>
<licence>...</licence>
</fileserver>
Environment variables may be used in attributes and values within the XML configuration using the syntax '${env-var-name}'.
Some configuration settings allow an optional platforms="..." attribute, this allows a configuration to be used on multiple platforms. If the current platform that the JFileServer is running on is not listed in the platforms="..." list then the setting will be ignored.
The available platform values are Windows, Linux, MacOSX and Solaris. The platforms value is a comma delimited list of valid platforms for the current setting.
The <server> configuration section is used to enable or disable which file server protocols are available. The syntax has changed from the JLAN configuration as each protocol now has an enable="true|false" attribute, this makes it easier to use an environment variable to control whether a particular file server protocol is enabled.
The <servers> configuration section has the following syntax :-
<servers>
<SMB enable="true|false">
<FTP enable="true|false">
<NFS enable="true|false">
</servers>
SMB Server Configuration
The <SMB> configuration section is used to configure the SMB protocol server that allows a drive or mount to be mapped to the JFileServer file server which can then be accessed as if it were a local drive on the client system.
The <SMB> configuration section has the following syntax :-