Problem
The maxfilesize limit determines the maximum file size that can be copied or moved from a Windows system to the AFPS server. How can I increase this?
Cause
The default maxfilesize limitation for AFPS Release 3.5.1f is 20000 kilobytes.
The default maxfilesize limitation for AFPS Release 3.5.2n is 200000 kilobytes.
Solution
To set the maxmimum file size that can be copied or moved from a Windows system, follow these steps (performing this from the AFPS Server):
1. # cd /usr/net/servers/lanman2. Using your favorite editor, enter the "lanman.ini" file.
3. Under the [lmxserver] section add the following line:
maxfilesize=xxxwhere "xxx" is the maximum file size (in kilobytes) you want to be able to have moved/copied to the AFPS server from a Windows system. (Note: By default maxfilesize will not be present in the lanman.ini file.)
For example, to increase the file size limitation to 300,000KB the entry would be:
maxfilesize=3000004. Once the lanman.ini file changes have been saved and you have exited, you will need to stop and restart the AFPS server by doing the following:
# net stop server; net start server <Enter>Once the AFPS server has been stopped and restarted, the changes made to the lanman.ini file will take effect.
NOTES: Both the SCO Advanced File and Print Server System Guide (for AFPS
version 3.5.2n) and online documentation for that release show the
default value for "maxfilesize" to be 20000KB. This, however, is
incorrect; the correct default size is 200000KB. This documentation
errata has been reported to SCO Engineering.When calculating kilobytes to megabytes, remember that 1024KB = 1MB.
See also
SCO Advanced File and Print Server System Guide (Appendix B).
OnLine Help for SCO Advanced File and Print Server.