16 (104)
5
FTP Server
5.1
General Information
The built-in FTP-server makes it easy to manage the file system using a standard FTP client. It
can be disabled using attribute #6 in the Ethernet Host Object (F9h).
By default, the following port numbers are used for FTP communication:
•
TCP, port 20 (FTP data port)
•
TCP, port 21 (FTP command port)
The FTP server supports up to two concurrent clients.
5.2
User Accounts
User accounts are stored in the configuration file \ftp.cfg. This file holds the usernames, pass-
words, and home directory for all users. Users are not able to access files outside of their home
directory.
File Format:
User1:Password1:Homedirectory1
User2:Password2:Homedirectory2
User3:Password3:Homedirectory3
Optionally, the UserN:PasswordN-section can be replaced by a path to a file containing a list of
users as follows:
File Format (\ftp.cfg):
User1:Password1:Homedirectory1
User2:Password2:Homedirectory2
.
.
UserN:PasswordN:HomedirectoryN
\path\userlistA:HomedirectoryA
\path\userlistB:HomedirectoryB
The files containing the user lists shall have the following format:
File Format:
User1:Password1
User2:Password2
User3:Password3
.
.
.UserN:PasswordN
Notes:
•
Usernames must not exceed 16 characters in length.
•
Passwords must not exceed 16 characters in length.
•
Usernames and passwords must only contain alphanumeric characters.
Anybus
®
CompactCom
™
40 Common Ethernet Design Guide
HMSI-27–269 2.1