ftpserv

Last Updated : Nov 01, 2012 |

Syntax

ftpserv  [-? | -h] [-l] [-o] [-a] [-q] -s ftp [on | off]   
-l

Lists the services supported by this command.

-o

Display only the services name, not the description.

-a

Display the “active” state of the service.

-q

Query for the state of the service.

-s ftp [ on | off ]

Enable (on) or disable (off) ftp service.

-? | -h

Display the usage statement.

Description

Use ftpserv to configure ftp access and service. This command works when the user is logged in as root or with sudo (i.e., sudo ftpserv).