Previous Topic

Next Topic

Book Contents

Managing Anonymous FTP Service With Anonftp.exe Utility

Anonftp.exe utility allows you to manage anonymous FTP service. Using this utility, you can:

Anonftp.exe is located in %plesk_dir%admin\bin\. Available commands and options are listed in tables below.

Usage:
anonftp.exe command <domain_name> [options]

Example of usage:

anonftp.exe --update domain1.com -status true -max_connects 15 -incoming true -bandwidth 100

Available commands:

Command

Parameter

Action

Example

--update or -u

<domain_name>

updates anonymous ftp settings on the specified domain

Examples of updating particular settings of Anonymous FTP are shown further in the current table

--info or -i

<domain_name>

gets information about anonymous ftp settings on the specified domain

To get information about anonymous FTP settings on Somewhere.com domain:

anonftp.exe --info somewhere.com

--help or -h

 

displays help on the utility usage

To see help file on the utility usage:

anonftp.exe --help

Available options:

Option

Parameter

Action

Example

-status

<true|false>

turns on/off the anonymous FTP service for a domain

To turn on anonymous FTP service for somewhere.com domain:

anonftp.exe --update somewhere.com -status true

-message

<true|false>

displays login message

To display login message text 'Welcome!' upon logging to anonymous FTP service on Somewhere.com domain:

anonftp.exe --update -status true -message true -message-text 'Welcome!'

-message-text

<string>

login message text

To display login message text 'Welcome!' upon logging to anonymous FTP service on Somewhere.com domain:

anonftp.exe --update -status true -message true -message-text 'Welcome!'

-incoming

<true|false>

turns on/off uploading to incoming directory (default: false)

To turn on uploading to incoming directory:

anonftp.exe --update somewhere.com -status true -incoming true

-incoming-dirs

<true|false>

allows creation of directories in the incoming directory

To allow creation of directories in the incoming directory:

anonftp.exe --update somewhere.com -status true -incoming-dirs true

-incoming-downloads

<true|false>

allows downloading from the incoming directory

To allow downloading from the incoming directory:

anonftp.exe --update somewhere.com -status true -incoming-downloads true

-incoming-limit

<KB>

limits disk space in the incoming directory (-1 - unlimited)

To limit disk space in the incoming directory to 900Kb:

anonftp.exe --update somewhere.com -status true -incoming-limit 900

-max-connects

<number>

limits the number of simultaneous connections (-1 - unlimited)

To limit the number of simulationous FTP connections to 4:

anonftp.exe --update somewhere.com -status true -max-connects 4

-bandwidth

<KB>

limits download bandwidth (-1 - unlimited)

To limit download bandwidth to 50Kb:

anonftp.exe --update somewhere.com -status true -bandwidth 50

See Also

Creation Utilities

Configuring Server With Init_conf.exe Utility

Changing Control Panel Appearance With Server_pref.exe Utility

Managing IP Addresses With Ipmanage.exe Utility

Client Account Management With Client.exe and Client_pref.exe Utilities

Managing Domains With Domain.exe and Domain_pref.exe Utilities

Managing Web Users With Webuser.exe Utility

Managing Databases With Database.exe Utility

Managing Mail Accounts With Mail.exe Utility

Managing Mailing Lists With Maillist.exe Utility

Managing Spam Filtering With Spamassassin.exe Utility

Managing Web Protection For Domain Directories With Protdir.exe Utility

Managing Subdomains With Subdomain.exe Utility