Documentation for the client

Introduction

This is the documentation for the client program. It is the command line part of the HTML browser. The second part of the report can be found here.

Building client

What you need

Building it

There are few things to do:

Usage

The command line format to call client is:

For getting a HTML page

client get full-path-to-file destination-file port
Where

For sending mail

client mail mailfile
Where

Downloaded Files

If you download a HTML file, for example www.animals.org/dog/cat/mouse.html, it is stored in the given destination file AND in the cache subdirectory (which is specified in client/src/w3clientconfig.h). The HTML file is scanned for image tags and the corresponding images are downloaded and stored in the cache directory, in this example that could be
cache/www.animals.org/pictures/dog.gif
The HTML pages are stored flatly in cache/, e.g. as
cache/www.animals.org_index.html
The slashes are replaced by underscores. This CAN lead to clashes but that is neglected for this program. In a release version, another mechanism would have to be used.
Generated on Thu Jul 6 15:37:32 2006 for w3server by  doxygen 1.4.6