Syntax:
READ [BODY|HEADER] {VAR varname | FILE [APPEND] NAME filespec}
Reads (receives) information from an HTTP client. Either the header lines or the body data are read, depending on whether HEADER or BODY was specified, respectively. The default action is to read the body. Then:
The named file is overwritten unless APPEND is specified (in which case the data are written following the end of any existing data).
The READ command has no effect under the Gopher protocol, or if the client did not send an HTTP/1.0 request (though in both cases the command syntax is checked).
[ previous section | GoServe | next section ]
From 'goserve.doc', version 2.32.
Copyright © International Business Machines Corporation, 1993, 1995.
All rights reserved.