9 FTP Server
9-18
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
9-9
Application Example from a Host
Computer
The following procedure provides an example of FTP operations from a host computer. In this example,
the following assumptions are made.
•
The IP address of the EtherNet/IP Unit is registered in the hosts as host name [nj].
•
The FTP login name is “LogIn”.
•
Manufacturing results is stored in the SD Memory Card in the CPU Unit in a file that is named
RESULT.BIN.
•
A processing instructions data file called PLAN.BIN already exists on the workstation.
In the following procedure, the manufacturing results file (RESULT.BIN) in the SD Memory Card in the
CPU Unit is transferred to a workstation, and then a manufacturing instructions file (PLAN.BIN) on the
workstation is transferred to the SD Memory Card in the CPU Unit. Underlined text is keyed in from the
FTP client. The workstation prompt is indicated as $ and the cursor is indicated as
■
.
1
Start the FTP application and connect to the EtherNet/IP Unit.
2
Enter the login name.
3
Make sure the Memory Card is correctly inserted. The MEMCARD directory is displayed if there
is an SD Memory Card in the CPU Unit.
4
Change to the MEMCARD directory.
5
Change data type to binary.
$ ftp nj
connected to nj
220 **IPaddress**
N
J501-1300 FTP ser
v
er(FTP**
v
ersion**)ready
N
ame(nj:root):
FTP started.
Enter the pass
w
ord.
Enter the login name.
N
ame(nj:root):LogIn
331 Pass
w
ord req
u
ired for LogIn.
Pass
w
ord:
230 LogIn logged in.
ftp>
Make s
u
re the Memory
Card is inserted.
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.
15
b
ytes recei
v
ed in 0 seconds(**
b
ytes/s)
ftp>
ftp> cd MEMCARD
250 CWD command s
u
ccessf
u
l.
ftp>
Change the directory.
ftp> type
b
inary
200 Type set to I.
ftp>
Set
b
inary data type.
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: ......