beautypg.com

4 ftp server application example, Ftp server application example – Omron W343-E1-07 User Manual

Page 188

background image

167

FTP Server Application Example

Section 7-4

7-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.

1,2,3...

1.

Make sure that a Memory Card is inserted in the CPU Unit and turn ON
the power supply to the PC.

2.

If EM File Memory is to be used, create the EM File Memory.

3.

Connect to the FTP server from a computer on the Ethernet by entering
the text that is underlined in the following diagram.

4.

Enter FTP commands (underlined in the following diagram) to read and
write files. The following directory tree is used in this example

Note

1.

The current status of the FTP server can be obtained from the service sta-
tus in the words allocated to the Ethernet Unit in the CPU Bus Unit Area in
the CIO Area. The first word allocated to the Ethernet Unit is n and is com-
puted as follows:

n = 1500 + (25 x unit number)

IP address of the Ethernet Unit

Results

Login name

File names read

Results

Change to MEMCARD directory

Results
Transfer DEF.IOM from ABC
directory

Results

/:

root

EM

MEMCARD

ABC

DEF.IOM (file)

(subdirectory)

This manual is related to the following products: