Specifications

Chapter 7 Working with FTP Service 133
Anonymous users and authenticated users who don’t have home folders (or whose
home folders are not located in a share point they have access to) are always logged
in at the root level of the FTP environment.
Changing the FTP Root Folder
Use the Advanced pane of FTP service settings to change the path to the FTP
root folder.
To specify a dierent FTP root:
1 Select the folder you want to use.
If the folder doesn’t exist, create it and congure it as an FTP share point.
2 Open Server Admin and connect to the server.
3 Click the triangle at the left of the server.
The list of services appears.
4 From the expanded Servers list, select FTP.
5 Click Settings, then click Advanced.
6 In the “FTP root” eld, enter the path to the new folder or click the Choose button and
select the folder.
From the command line:
You can also change the directory where FTP content is stored using the serveradmin
command. By default, the directory is /Library/FTPServer/FTPRoot.
To change where FTP content is stored: m
$ sudo serveradmin settings ftp:ftpRoot = "value"
For information about serveradmin, see its man page. For the basics of command-line
tool usage, see Introduction to Command-Line Administration.
Managing FTP Service
This section describes typical tasks you perform after you set up FTP service on your
server. Initial setup information appears in “Setting Up FTP Service” on page 12 4 .
Checking FTP Service Status
Use Server Admin to check the status of FTP service.
To view FTP service status:
1 Open Server Admin and connect to the server.
2 Click the triangle at the left of the server.
The list of services appears.
3 From the expanded Servers list, select FTP.