Technical article 109305

How can I increase the maximum size of a file I want to copy/move from a Windows system to an AFPS server (running under OpenServer 5.0.x)?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

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/lanman

2. Using your favorite editor, enter the "lanman.ini" file.

3. Under the [lmxserver] section add the following line:

maxfilesize=xxx

where "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=300000

4. 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.

From the Xinuos technical article database, record 109305. Reproduced with permission. The original is at www.sco.com/ta/109305, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.