Apple Xserve Up Mac OS X Server Specifications Page 155

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 154
Chapter 9 Working with File Services 155
Available FTP serveradmin Commands
To manage FTP service, use the following commands with serveradmin. For details on
how to use these commands, see the examples in the following sections.
Viewing the FTP Transfer Log
You can use tail or another file-listing tool to view the contents of the FTP transfer log.
To view the latest entries in the transfer log:
$ tail
log-file
By default the
log-file
is located in /Library/Logs/FTP.transfer.log. To see where the
current transfer log is located, use the serveradmin getLogPaths command.
To view the log path:
$ sudo serveradmin command ftp:command = getLogPaths
Viewing for Connected FTP Users
To see how many FTP users are connected:
$ ftpcount
or
$ sudo serveradmin command ftp:command = getConnectedUsers
showWelcomeMessage
Default = yes
welcomeMessage
Displays a welcome message that appears after you
log in to FTP. Customize to your own preferences.
Default =
"-------------------------------------
This is the "Welcome" message for the
Mac OS X Server's FTP server process.
FTP clients will receive this message
right after a successful log in.
-------------------------------------"
Parameter (ftp:) Description
Command (ftp:command=) Description
getConnectedUsers View connected users. See “Viewing for Connected FTP Users” on
page 155.
getLogPaths Show location of the FTP transfer log file. See “Viewing the FTP
Transfer Log” on page 155.
writeSettings Equivalent to the standard serveradmin settings command,
but also returns a setting indicating whether the service must be
restarted. See “Using the serveradmin Tool” on page 50.
Page view 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 328 329

Comments to this Manuals

No comments