anonftp.exe: Anonymous FTP Service:
anonftp.exe: Anonymous FTP Service:
The anonftp.exe
utility serves to manage the anonymous FTP service. The utility allows the following operations:
- enabling/disabling anonymous FTP access
- restricting the download bandwidth and the maximum number of simultaneous connections
- managing incoming directory parameters and login message options
Location
%plesk_cli%
Usage
anonftp.exe <command> [<domain name>] [
<option 1> <param> [<option 2> <param>] ... [<option N> <param>]
]
Example
The following command enables the anonymous FTP service on the domain example.com, restricts the number of simultaneous FTP connections to 15, allows creating subdirectories within the incoming directory, and restricts the download bandwidth to 500 KB.
anonftp.exe --update example.com -status true -max-connects 15 -incoming true -bandwidth 500
Commands
Command | Parameter | Description | Example |
---|---|---|---|
|
|
Updates the anonymous FTP settings. |
To enable the anonymous FTP service on the domain example.com: anonftp.exe --update example.com -status true or anonftp.exe -u example.com -status true |
|
|
Retrieves the information about anonymous FTP settings. |
To get the info about anonymous FTP settings on example.com: anonftp.exe --info example.com or anonftp.exe -i example.com |
|
|
Displays help on the use of the utility. |
To see the help info on the use of this utility: anonftp.exe --help or anonftp.exe -h |
Options
Option | Parameter | Description | Example |
---|---|---|---|
|
|
Enables/Disables the anonymous FTP service on the specified domain. |
To enable the anonymous FTP service on example.com: anonftp.exe --update example.com -status true |
|
|
Enables/Disables displaying a login message. Is |
To display the 'Welcome!' login message when logging to the anonymous FTP service on example.com: anonftp.exe --update example.com -status true -message true -message-text "Welcome!" |
|
|
Specifies a login message text. |
|
|
|
Enables/Disables upload to the incoming directory. Is |
To enable uploading files to the incoming directory: anonftp.exe --update example.com -status true -incoming true |
|
|
Allows/Prohibit creating directories in the incoming directory. Is |
To allow creating directories in the incoming directory: anonftp.exe --update example.com -status true -incoming-dirs true |
|
|
Enables/Disables downloading from the incoming directory. Is |
To allow downloading from the incoming directory: anonftp.exe --update example.com -status true -incoming-downloads true |
|
|
Restricts the disk space used by the incoming directory. Unlimited if set to |
To restrict the disk space for the incoming directory to 10 MB: anonftp.exe --update example.com -status true -incoming-limit 10M |
|
|
Restricts the number of available simultaneous connections. Unlimited if set to |
To restrict the number of simultaneous FTP connections to 40: anonftp.exe --update example.com -status true -max-connects 40 |
|
|
Restricts the download bandwidth. Unlimited if set to Note: Use this option only if the anonymous FTP service on the domain supports download restriction. For example, the MS FTP server doesn't support this feature.
|
To restrict the download bandwidth to 1 MB: anonftp.exe --update example.com -status true -bandwidth 1M |