Multitech MultiConnect Adapter Guía de usuario Pagina 101

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 154
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 100
Chapter 9 – HTTP Server
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 101
Uploading the Web Page and Parameter List
The Host Device Files (.HTML, default parameter List….) can be uploaded to the IP module using TFTP
CLIENT.
It is possible to upload these files in two different ways. In any case, file naming and file size
conventions described previously must be followed.
Compressed and Zipped formats (tar.gz) or
Uncompressed individual files.
Uploading Compressed and Zipped Files (http.tar.gz)
In order to load files in the compressed (http.tar.gz) format, the following directory structure has to be
strictly followed.
http/
HTML/
http-s0.HTML
http-host-param
http-*.HTML
cgi-bin/
cgi-* (Supports only Shell scripts)
Place the HTML files and the default serial device parameter list in the /http/HTML directory. All the
HTML file-names should be prefixed with http-.
Place the CGI scripts in the /http/cgi-bin directory. All the CGI scripts should be prefixed with cgi-.
Create an http.tar.gz from the source directory (http/). This file should be in the GZIP format only.
Upload http.tar.gz using any TFTP Client with binary mode set.
Use the following commands to upload http.tar.gz to the IP module.
[root@admin /root]# tftp 192.168.2.1 (Address of the IP module)
tftp>trace
tftp>binary
tftp>verbose
tftp>put http.tar.gz
tftp>quit
Upload Uncompressed Files Individually
Use TFTP client with binary mode set.
Upload HTML files, the default serial device parameter list, and the CGI bin files individually using
the following commands:
tftp 192.168.2.92 (IP-Address of the IP module)
tftp>verbose
tftp>binary
tftp>trace
tftp>put http-host-param
tftp>put http-s0.HTML.
Upload all the files using the similar command.
Vista de pagina 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 153 154

Comentarios a estos manuales

Sin comentarios