[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETFSLST()
 Determines the names of all visible file servers within a network
------------------------------------------------------------------------------
 Syntax

     NNETFSLST([<cMask>]) --> aServerList

     Netware: 2.2 and 3.11

 Argument

     <cMask>  Designates a search mask that can contain the wildcard
     characters "?" and "*".  The default value ("*") indicates that all
     server names are returned.

 Returns

     NNETFSLST() returns a one-dimensional array.  Each array element
     contains one server name.

 Description

     NOVELL NET FILE SERVER LIST
     NNETFSLST() returns the names of all visible file servers, whether the
     server is attached or not.  With this function you can determine if you
     can address a specific file server before you call NNETATTACH() or
     NNETLOGIN().

 Note

     .  Unlike NNETSLIST(), which returns the names of the attached
        servers (maximum of eight), NNETFSLST() returns the names of all
        servers within a network.

 Examples

     .  Display the names of all the file servers in a network:

        aServer=NNETFSLST()
        FOR i = 1 TO LEN(aServer)
        ? aServer[i]
        NEXT i

     .  Select a file server with ACHOICE(), and then log in a user:

        aServer=NNETFSLST()
        IF (nSelect:=ACHOICE(5,5,8,45,aServer))>0
        NNETLOGIN("PAUL","190366",aServer[nSelect])
        ENDIF

See Also: NNETATTACH() NNETLOGIN() NNETSLIST() NNETCVSSRV()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson