ML0021 August 15, 2018
69 Copyright 2018 Bitronics, LLC
5.5.1a Introduction to FTP
FTP protocol is a standard component of the Internet protocol suite and is used to transfer
files between computer systems. Every Windows/Unix/Linux operating system contains an
FTP Client program that allows simple access to FTP Servers such as the M87x. FTP is
accessed from the command prompt (sometimes referred to as the DOS prompt). A
(simplified) sample session appears on the screen as:
C:\windows> FTP 192.168.0.254
M87x server, enter user name: anonymous
Enter password: BITRONICS (Any password will work)
FTP> binary
Some Operating Systems default to ASCII mode for FTP. Entering "binary" ensures that
the FTP connection will be in the binary mode necessary for communicating with the
M87x.
As shown above, the user specifies the IP address of the server, enters a username and
password, and then is presented with the FTP prompt awaiting commands. The following
commands are useful for communicating with the M87x.
Command Function
BINARY Changes FTP to binary mode
CD.. Change current directory to parent directory
CD directoryname
Change current directory to directyname
DELETE filename.ext Delete file from Serve
DIR filename.ext List directory contents
GET source file destination file Read file from M87x
PUT source file destination file Write file to M87x
QUIT Exit FTP server and return to command prompt
Refer to your local operating system documentation for more details.
5.5.1b M87x FTP Implementation
The M87x FTP server has three privilege levels that determine the allowed FTP
operations.
Description Username Password
Read files within the C:
DATA directory “anonymous” or “guest” Any
Read files on any drive or directory Drive
directory Level 0
Read, Write, or Delete files on any drive or directory Drive
directory Level 2
Access to Levels 1 and 2 require the user to enter the starting (root) directory as the "User
Name". For this purpose, the drive name is treated as a directory. The entire "c" drive
would be accessed by entering a User Name of "c" and the appropriate password. Access
to a subdirectory, for example the configuration files, is obtained by entering a User Name