PLESK COMMAND LINE INTERFACE

Section 3.2.2 Managing Anonymous FTP

3.2.2.1 Purpose

The anonftp.sh utility is designed for managing anonymous FTP settings on a domain with hosting.

3.2.2.2. Usage

Usage: annonftp.sh command <domain_name> [options]

Available commands and options:

Command Parameter Action
--update or -u <domain_name> updates anonymous ftp settings on the specified domain
--info or -i <domain_name> gets information about anonymous ftp settings on the specified domain
--help or -h   displays help on the utility usage
Option Parameter Note
-status <true|false> turns on/off the anonymous ftp service for a domain
-message <true|false> displays login message
-message-text <string> login message text
-incoming <true|false> turns on/off uploading to incoming directory (default: false)
-incoming-dirs <true|false> allows creation of directories in the incoming directory
-incoming-downloads <true|false> allows downloading from the incoming directory
-incoming-limit <KB> limits disk space in the incoming directory (-1 - unlimited)
-max-connects <number> limits the number of simultaneous connections (-1 - unlimited)
-bandwidth <KB> limits download bandwidth (-1 - unlimited)

3.2.2.3 Examples

Limiting bandwidth for anonymous FTP downloads:
./anonftp.sh --update "domain.zone" -bandwidth 1024

to top