ProFTPD module mod_xfer



The mod_xfer module handles most of the FTP commands related to file transfers.

Directives


TransferPriority

Syntax: TransferPriority cmd-list "low"|"medium"|"high"|number
Default: None
Context: server config, <VirtualHost>, <Global>, <Anonymous>
Module: mod_xfer
Compatibility: 1.3.2rc1 and later

The TransferPriority directive is used to tweak the process priority (a la nice(1)) of the session during data transfers. For example, large (or anonymous) data transfers can be configured to have lower priorities, so as to get lower priority than other applications from the kernel.

The priority parameter can one of the convenient "high", "medium", or "low" keywords, or it can be an explicit number. As per the nice(1) man page, the higher the number, the lower the priority; the highest priority is -20, and the lower priority is 19.

Examples:

  # All data transfers get a low priority
  TransferPriority APPE,RETR,STOR low
Or maybe only downloads should have lower priorities, but uploads should be fine:
  TransferPriority RETR low


Installation

The mod_xfermodule is always installed.



Author: $Author: castaglia $
Last Updated: $Date: 2011/01/07 19:03:11 $


© Copyright 2000-2011 The ProFTPD Project
All Rights Reserved