![background image](http://html1.mh-extra.com/html/omron/cj2h-cpu6-rev-02-2010/cj2h-cpu6-rev-02-2010_operation-manual_740798334.webp)
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).
Summary of Contents for CJ2H-CPU6 - REV 02-2010
Page 2: ......
Page 4: ...iv...
Page 6: ...vi...
Page 14: ...xiv...
Page 18: ...xviii...
Page 38: ...12 Network Configurator Overview Section 1 5...
Page 58: ...32 Selecting the Network Devices Section 2 3...
Page 116: ...90 Auxiliary Area Data Section 4 5...
Page 222: ...196 Message Communications Errors Section 7 6...
Page 364: ...338 Using the Backup Tool Section 13 3...
Page 402: ...376 CS CJ series Ethernet Unit Function Comparison Appendix A...
Page 404: ...378 Ethernet Network Parameters Appendix B...
Page 406: ...380 TCP Status Transitions Appendix C...
Page 452: ...426 Precautions for Using Windows XP Vista or Windows 7 Appendix G...
Page 460: ...434 Index...
Page 462: ...436 Revision History...
Page 463: ......