Managing the FTP Service

Mac OS X Server features a robust File Transfer Protocol (FTP) file service for Internet file sharing from any platform. The FTP protocol provides the broadest compatibility across platforms, making it ideal for anonymous downloads or sharing files that are too large to be sent over email. Mac OS X Server improves the security of FTP service with Kerberos authentication. It also supports automatic resumption of disconnected FTP file transfers.

Starting FTP Service

To start FTP service:

$ sudo serveradmin start ftp

Stopping FTP Service

To stop FTP service:

$ sudo serveradmin stop ftp

Checking FTP Service Status

To see if FTP service is running:

$ sudo serveradmin status ftp

To see complete FTP status:

$ sudo serveradmin fullstatus ftp

Viewing FTP Service Settings

To list all FTP service settings:

$ sudo serveradmin settings ftp

To list a particular setting:

$ sudo serveradmin settings ftp:setting

To list a group of settings:

You can list a group of settings that have part of their names in common by typing only as much of the name as you want, stopping at a colon (:), and typing an asterisk (*) as a wildcard for the remaining parts of the name. For example:

$ sudo serveradmin settings ftp:logCommands:*

Chapter 9 Working with File Services

147

Page 147
Image 147
Apple Mac OS X Server Managing the FTP Service, Starting FTP Service, Stopping FTP Service, Checking FTP Service Status