![background image](http://html1.mh-extra.com/html/omron/cj2h-cpu6-rev-02-2010/cj2h-cpu6-rev-02-2010_operation-manual_740798333.webp)
307
FTP Server Application Example
Section 11-4
11-4 FTP Server Application Example
The following procedure shows how to use the FTP server by connection with
the default login name, CONFIDENTIAL. No password is required.
Note
The login name and a password must be set in the CPU Bus Setup for the
Ethernet Unit in the CPU Unit to use any login name other than CONFIDEN-
TIAL.
Note
When general-purpose FTP software is used, files can be transferred and
read using a graphical user interface similar to Explorer.
1,2,3...
1.
Make sure that a Memory Card is inserted in the CPU Unit and turn ON
the power supply to the PLC. If EM File Memory is to be used, create the
EM File Memory.
2.
Connect to the FTP server from a computer on the Ethernet by entering
the text that is underlined in the following diagram.
3.
Enter FTP commands (underlined in the following diagram) to read and
write files. The following directory tree is used in this example.
IP address of the Ethernet/IP Unit or built-in EtherNet/IP port
Results
Login name
$ ftp 150.31.2.83
connected to 150.31.2.83
220 **IPaddress** CJ1W-EIP21 FTP server(FTP**version**)ready
Name:CONFIDENTIAL
230 Guest logged in.
ftp> ls
200 PORT command successful.
150 opening data connection for ls(**IPaddress**port#**)(0bytes).
MEMCARD
EM
226 Transfer complete.
** bytes received in 0 seconds(**bytes/s)
ftp> cd MEMCARD
250 CWD command successful.
ftp> get ABC/DEF.IOM
200 PORT command successful.
150 opening data connection for abc/def.iom(**IPaddress**port#**)(**bytes).
226 Transfer complete
**bytes received in *.*** seconds(**bytes/s)
DEF.IOM (file)
ABC (subdirectory)
EM
MEMCARD
File names read
Results
Change to MEMCARD
directory
Results
Transfer DEF.IOM from
ABC directory
Results
/:
root
Содержание CJ2H-CPU6 - REV 02-2010
Страница 2: ......
Страница 4: ...iv...
Страница 6: ...vi...
Страница 14: ...xiv...
Страница 18: ...xviii...
Страница 38: ...12 Network Configurator Overview Section 1 5...
Страница 58: ...32 Selecting the Network Devices Section 2 3...
Страница 116: ...90 Auxiliary Area Data Section 4 5...
Страница 222: ...196 Message Communications Errors Section 7 6...
Страница 364: ...338 Using the Backup Tool Section 13 3...
Страница 402: ...376 CS CJ series Ethernet Unit Function Comparison Appendix A...
Страница 404: ...378 Ethernet Network Parameters Appendix B...
Страница 406: ...380 TCP Status Transitions Appendix C...
Страница 452: ...426 Precautions for Using Windows XP Vista or Windows 7 Appendix G...
Страница 460: ...434 Index...
Страница 462: ...436 Revision History...
Страница 463: ......