C API Reference -- Ns_UrlIsDir

### Ns_UrlIsDir

#### Overview

Check if a directory that corresponds to a URL exists

#### Syntax

        int Ns_UrlIsDir(
        char *hServer,
        char *URL
        );

#### Description

The Ns_UrlIsDir function constructs a directory name by appending the URL to the current AOLserver pages directory for the specified server. It returns 1 if the directory exists.

#### Examples

See the example for Ns_UrlIsFile.

Top of Page
Copyright © 1998-99 America Online, Inc.