3 http operation, 4 web content - storing, Http operation – Horner APG XL4 OCS HE-ETN300 User Manual

Page 72: Web content - storing

Advertising
background image

CH.11

SUP0740-07

11/30/2009

Page 72 of 98

# 958

4. Optionally, set up the HTTP Configuration parameters for User 1 as follows:

User Name: Enter an alphanumeric string (up to 40 characters) for the HTTP Client’s User
Name.
Password:

Enter an alphanumeric string (up to 40 characters) for the HTTP Client’s

Password.
Read Only:

This option is always deselected and grayed out.

Read / Write: This option is always selected and grayed out.

Note: User Names and Passwords are case-sensitive and, by default, the User Name and

Password are empty. In this case, all HTTP Clients can access the OCS web
content. In a typical application, the User Name and Password should be configured
for security purposes.


5. Click

OK to accept the new HTTP protocol configuration.

11.3 HTTP

Operation


After performing Ethernet Module HTTP Configuration, as described in section 11.2, a 3

rd

party

HTTP Client (such as a PC running Internet Explorer or Firefox) can be used to browse OCS web
content.

To start browsing web resources stored in the OCS file system, enter the appropriate URL
(Uniform Resource Locator) into the HTTP Client (web browser). As a minimum, the URL should
include the target Ethernet Module’s IP Address and a filename. For example, if the OCS
Ethernet Module’s IP address is 192.168.254.128, the following URL will access the index.htm
file in the OCS file system root directory:

http://192.168.254.128/index.htm


Note: The HTTP Server does not automatically default to index.htm, if no file is specified in the
URL.

If the Ethernet Module was configured with a User Name and Password, the browser will prompt
for the User Name and Password to be entered, before opening the web page. Please refer to
documentation provided with the 3

rd

party HTTP Client, regarding how to install, configure and

operate the HTTP Client.

The Ethernet Module HTTP Server implements HTTP/1.0 and does not support persistent
connections. Therefore, each time a web page (or other resource) is transferred, the following
sequence takes place:

1. The HTTP Client (web browser) opens a connection with the HTTP Server and sends a

request.

2. The HTTP Server sends a response to the HTTP Client and then closes the connection.


Since the connection only stays open long enough to complete one request, multiple HTTP
Clients can concurrently access OCS web content, even though they are actually sharing a single
connection.

11.4

Web Content - Storing


When storing web content files in the OCS file system, the user should know that the OCS file
system implements an “8.3” filename format, which means all file and directory names must

Advertising
This manual is related to the following products: