Ftp; Ftp Server; Datalogger Home Page - Campbell NL116 Instruction Manual

Ethernet and compactflash module
Table of Contents

Advertisement

FIGURE 7-1. Datalogger home page
If there is a default.html file on the datalogger, this will automatically become
the user-configurable home page.
The WebPageBegin/WebPageEnd declarations and the HTTPOut()
instruction can be used in a datalogger program to create HTML or XML files
that can be viewed by the browser. For more information on using these
instructions, see the datalogger manual or CRBasic Editor help.
See Web Server API in the contents of the CRBasic Editor help for more
information on using HTTP to access datalogger data.
FileOpen() and FileWrite() can be used to create HTML pages,
NOTE
but this requires first writing the file to the datalogger USR, CRD,
or USB drive. It is less convenient, and the page will be only as
current as it is written to the file.

7.1.3 FTP

7.1.3.1 FTP Server

With an NL116 attached, the datalogger will automatically run an FTP server.
This allows Windows Explorer to access the datalogger's file system via FTP.
In the FTP world, the "drives" on the datalogger are mapped into directories
(or folders). The "root directory" on the datalogger will include CPU and
possibly USR, USB, and/or CRD. The files will be contained in one of these
directories. Files can be pasted to and copied from the datalogger "drives" as if
they were drives on the PC. Files on the datalogger drives can also be deleted
through FTP.
NL116 Ethernet and CompactFlash
®
Module
15

Advertisement

Table of Contents
loading

Table of Contents