SPUG: scanning directories

Menardo, Dax Dax.Menardo at reedbusiness.com.au
Thu Nov 30 00:25:27 CST 2000


first of all its a Windows environment - booooo, i hear some say.....

How do I scan through an unmapped share directory name on a server on the
network domain? or even open one.....

Lets say:

$portal{BASEDIR} = "//machinename/sharedirectory";
opendir(ETC,$portal{BASEDIR}) || die "\nCannot opendir ".$portal{BASEDIR}."
\n$!";

eventhough the share permission is set to be read/write/execute for
everyone.... the interpreter chucks out an error "cannot open the directory
<blah, blah>".....

Any Ideas....




 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list