Omron CS1W-EIP21 Network Card User Manual


 
308
Using FTP Commands Section 11-5
11-5 Using FTP Commands
This section describes the FTP commands which the host computer (FTP cli-
ent) can send to the FTP server of the EtherNet/IP Unit or built-in EtherNet/IP
port. The descriptions should also apply to most UNIX workstations, but slight
differences may arise. Refer to your workstation’s operation manuals for
details.
11-5-1 Table of Commands
The FTP commands which can be sent to the EtherNet/IP Unit or built-in Eth-
erNet/IP port are listed in the following table.
• The EtherNet/IP Unit or built-in EtherNet/IP port is considered to be the
remote host and the host computer (FTP client) is considered to be the
local host.
• A remote file is a file on the Memory Card or in EM File Memory in the
CPU Unit. A local file is one in the host computer (FTP client).
The parent directory is the directory one above the working directory.
11-5-2 Using the Commands
open
Format
open [IP_address or host_name_of_FTP_server]
Function
Connects the FTP server. Normally when the FTP client is booted, the FTP
server IP address is specified to execute this command automatically.
Command Description
open Connects the specified host FTP server.
user Specifies user name for the remote FTP server.
ls Displays the Memory Card file names.
dir Display the Memory Card file names and details.
rename Changes a file name.
mkdir Creates a new directory in the working directory in the remote host.
rmdir Deletes a new directory from the working directory in the remote host.
cd Changes the Ethernet Unit work directory to the specified directory.
cdup Changes the working directory at the remote host to the parent direc-
tory.
pwd Displays the Ethernet Unit work directory.
type Specifies the data type of transferred files.
get Transfers the specified file from the Memory Card to the local host.
mget Transfers multiple files from the Memory Card to the local host.
put Transfers the specified local file to the Memory Card.
mput Transfers multiple local files to the Memory Card.
delete Deletes the specified file from the Memory Card.
mdelete Deletes multiple files from the Memory Card.
close Disconnects the FTP server.
bye Closes the FTP (client).
quit Closes the FTP (client).