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)
Содержание SYSMAC CJ1W-EIP21
Страница 8: ...Manual Structure 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 10: ...Sections in this Manual 8 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 20: ...Read and Understand this Manual 18 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 42: ...Revision History 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 68: ...1 Introduction 1 26 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 80: ...2 Installing Ethernet Networks 2 12 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 130: ...6 Testing Communications 6 4 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 206: ...7 Tag Data Link Functions 7 76 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 246: ...8 Message Communications 8 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 266: ...9 FTP Server 9 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 374: ...13 Troubleshooting 13 56 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 431: ...Index 1 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 I Index...
Страница 436: ...Index 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Index...
Страница 437: ......