![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-eip21/sysmac-cj1w-eip21_operation-manuals_742257252.webp)
9 FTP Server
9-6
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
9-4
FTP Server Application Example
An example application of the FTP server when the login name is “user1” and the password is “pass-
word” is shown below.
Additional Information
When a general-purpose FTP application is used, you can use a graphical user interface similar
to Explorer to transfer and read files.
Step
1
Make sure that an SD Memory Card is inserted in the CPU Unit and turn ON the power supply
to the Controller.
2
Connect to the FTP server from a computer on the Ethernet by entering the text that is under-
lined 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.
Login name
Res
u
lts
IP address of the Ether
N
et/IP Unit
D:\tmp> ftp 192.168.250.2
Connected to 192.168.250.2
220 192.168.250.2 CJ1
W
-EIP21 FTP ser
v
er(FTP Version 1.11)ready.
User(192.168.250.2:(none)):
u
ser1
331 Pass
w
ord req
u
ired for
u
ser1.
Pass
w
ord:
230 User
u
ser1 logged in.
ftp>
Res
u
lts
Res
u
lts
Change to
MEMCARD directory
Res
u
lts
File names read
Transfer DEF.IOM from
ABC directory
/ (root directory)
MEMCARD
ABC
(subdirectory)
DEF.BI
N
(file)
ftp> ls
200 PORT command s
u
ccessf
u
l.
150 opening data connection for ls(**IPaddress**port#**)(0
b
ytes).
MEMCARD
226 Transfer complete.
**
b
ytes recei
v
ed in 0 seconds(**
b
ytes/s)
ftp> cd MEMCARD
250 C
W
D command s
u
ccessf
u
l.
ftp> get ABC/DEF.IOM
200 PORT command s
u
ccessf
u
l.
150 opening data connection for a
b
c/def.iom(**IPaddress**port#**)(**
b
ytes).
226 Transfer complete
**
b
ytes recei
v
ed in *.*** seconds(**
b
ytes/s)
Summary of Contents for SYSMAC CJ1W-EIP21
Page 8: ...Manual Structure 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 42: ...Revision History 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 68: ...1 Introduction 1 26 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 266: ...9 FTP Server 9 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 431: ...Index 1 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 I Index...
Page 436: ...Index 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Index...
Page 437: ......