Ftp Server Application Example - Omron CJ1W-EIP21 Operation Manuals

For nj-series cpu unit. cj-series ethernet/ip units
Hide thumbs Also See for CJ1W-EIP21:
Table of Contents

Advertisement

9 FTP Server
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.
IP address of the EtherNet/IP Unit
D:\tmp> ftp 192.168.250.2
Connected to 192.168.250.2
220 192.168.250.2 CJ1W-EIP21 FTP server(FTP Version 1.11)ready.
User(192.168.250.2:(none)): user1
331 Password required for user1.
Password:
230 User user1 logged in.
ftp>
3
Enter FTP commands (underlined in the following diagram) to read and write files. The following
directory tree is used in this example.
/ (root directory)
MEMCARD
ftp> ls
200 PORT command successful.
150 opening data connection for ls(**IPaddress**port#**)(0bytes).
MEMCARD
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)
9-6
ABC
(subdirectory)
DEF.BIN
(file)
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
Results
Login name
File names read
Results
Change to
MEMCARD directory
Results
Transfer DEF.IOM from
ABC directory
Results

Advertisement

Table of Contents
loading

Table of Contents