Omron CJ1W-ETN11 Network Card User Manual


 
168
Using FTP Commands Section 7-5
2. The FTP server can handle only one command at a time.
3. Do not simultaneously write a file with the same name to the same file de-
vice in a CPU Unit from more than one Ethernet Unit or ladder diagram
program. Exclusive control is not performed.
7-5 Using FTP Commands
This section describes the FTP commands which the host computer (FTP cli-
ent) can send to the Ethernet Unit’s FTP server. The descriptions should also
apply to most UNIX workstations, but slight differences may arise. Refer to
your workstation’s operation manuals for details.
7-5-1 Table of Commands
The FTP commands which can be sent to the Ethernet Unit are listed in the
following table.
The Ethernet Unit is considered to be the remote host and the host com-
puter (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.
FTP Status Flag
0: FTP Server free
1: FTP Server busy
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).