List-Dir - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Service Stage

list-dir

Applicable in
The
list-dir
request whose method is INDEX. The format of the returned lines is:
name type size mimetype
The name field is the name of the file or directory. It is relative to the directory being
indexed. It is URL-encoded, that is, any character might be represented by
where
The type field is a MIME type such as
directory
The size field is the size of the file, in bytes.
The mtime field is the numerical representation of the date of last modification of
the file. The number is the number of seconds since the epoch (Jan 1, 1970 00:00
UTC) since the last modification of the file.
When remote file manipulation is enabled in the server, the
a
Service
Parameters
type
method
query
UseOutputStreamSize
flushTimer
ChunkedRequestBufferSize
ChunkedRequestTimeout
bucket
Examples
Service fn=list-dir method="INDEX"
90
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
-class directives.
Service
function returns a sequence of text lines to the client in response to a
is the hexadecimal representation of the character's ASCII number.
xx
. A file for which the server doesn't have a type will be of type
-class function that calls
. Directories will be of type
text/html
for requests whose method is
list-dir
optional, common to all Service-class functions
optional, common to all Service-class functions
optional, common to all Service-class functions
optional, common to all Service-class functions
optional, common to all Service-class functions
optional, common to all Service-class functions
optional, common to all Service-class functions
optional, common to all obj.conf functions
,
%xx
unknown
file contains
obj.conf
INDEX
.
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents