servedat Option Summary
The following command line options are available for servedat. Many of these have corresponding configuration variables, which are described in greater detail in the config file section.
| -a <-3 to 5> | Aggression Set MTP/IP's aggression level. |
| -A <AuthFile> | AuthFile Specify an authentication file. |
| -b <kilobytes> | StreamSize Set the buffer size for packaging commands. The default is 2048 kilobytes. |
| -d <level> | Debug Turn on diagnostic output. Levels above 1 will produce copious output and degrade performance. |
| -D | ShowDotFiles Unix Only. File names beginning with a dot "." will be included directory listings. |
| -e <seconds> | Expire Change the default expire time for stalled transfers. Longer values may be useful on highly unreliable networks. |
| -E <seconds> | PackTimeout Runaway timeout for Package commands. See Packaging. |
| -f <config> | Read the given configuration file instead of the defaults. servedat will ignore all configuration files if you specify: f "" |
| -F <level> | LogFilter Reduce the volume of server log output by filtering certain types of reports. See Errors & Logging for values. Default: 2. |
| -H | RestrictHome Prohibits direct access to files outside of home directories. Symbolic links will be honored. |
| -i | Windows Only. Self install as a Windows Service. servedat will copy itself to %SystemRoot%\system32 and operate with the values given for relevant command line options. If a servedat service is already running, it will be shutdown and overwritten. The newly installed service will be started automatically. |
| -k <kilobytes> | MaxRate Limit bandwidth in kilobytes per second. |
| -K | Encrypt Require all transactions to be encrypted. Unencrypted transactions will be rejected. |
| -l <logfile> | LogFile Append diagnostic output to the named file path. |
| -L <rtt>[:<rate>] | Latency Advise MTP/IP of operation on a path with a high latency (over 500ms). See the "Latency" configuration variable below. |
| -M <octal> | FileMode Unix only. Sets the default file creation permissions. This will be modified by the process umask. |
| -n <address> | Interface Listen on the given network interface. |
| -O | NoOverwrite Prevents incoming files from overwriting existing files. Clients must delete an existing file prior to uploading one with the same name. |
| -p <port> | Port Change the UDP port number used to listen for requests. Use this option if there is a port conflict or you wish to take advantage of another UDP port that is already open in your firewall. |
| -P <package> | Package Add support for an external packaging command. See Packaging. |
| -r | ReadOnly Files may not be uploaded to the server, regardless of other settings. |
| -R | Register a license code. |
| -S | SysAuth Activates System Authentication. |
| -T <bytes> | MaxDatagram Limit the size of network datagram payloads to no more than this amount. The full IP datagram size will be 56 bytes larger when MTP/UDP/IP headers are included. If your network is known to have problems with IP fragmentation, try setting a value of 1424 or smaller. |
| -u | Windows Only. Uninstall Windows Service. The application will disable the servedat service and delete its binary from %SystemRoot%\system32. |
| -v | Display version information and exit. |
| -Z | Disables support for inline ZLIB compression (zli). |