10-9
10 FTP Server
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
10-5 Using FTP Commands
10
10-5-1 Table of Commands
10-5 Using FTP Commands
This section describes the FTP commands which the host computer (FTP client) can send to the FTP
server of the built-in EtherNet/IP port. The descriptions should also apply to most workstations, but
slight differences may arise. Refer to your workstation’s operation manuals for details.
The FTP commands which can be sent to the built-in EtherNet/ IP port are listed in the following table.
Note 1 “Remote host” refers to the built-in EtherNet/IP port.
2 A “remote file” is a file on the SD Memory Card in the CPU Unit.
3 “Local host” refers to the host computer (FTP client).
4 “Local file” refers to a file on the host computer (FTP client).
10-5-1 Table of Commands
Command Description
open Connects the specified host FTP server.
user Specifies the user name for the remote FTP server.
ls Displays file names in the remote host.
mls Displays file names in the remote host.
dir Displays file names and details in the remote host.
mdir Displays file names and details in the remote host.
rename Changes a file name.
mkdir Creates a new directory in the working directory in the remote host.
rmdir Deletes a directory from the working directory in the remote host.
cd Changes the work directory in the remote host to the specified directory.
pwd Displays the work directory on the remote host.
type Specifies the data type of transferred files.
get Transfers the specified remote file to the local host.
mget Transfers the specified multiple remote files to the local host.
put Transfers the specified local file to the remote host.
mput Transfers the specified multiple local files to the remote host.
delete Deletes the specified file from the remote host.
mdelete Deletes the specified multiple files from the remote host.
append Uses the file data type that is specified by the type command to append the local file to
the remote host.
close Disconnects the FTP server.
bye Closes the FTP client.
quit Closes the FTP client.