From: "Eric Peers" <[EMAIL PROTECTED]> > Based on a lack of replies to my post of yesterday, I'm assuming that > perl running on a Windows machine can not access a Windows directory > with spaces in the directory path (i.e. D:\scripts\perl script > files\).
Based on lack of info you gave you couldn't expect any help. Perl CAN access those paths, YOU cannot. > My second question is whether perl can read across a Windows network? > I've tried \\\\wvit9\\work\\ and have mapped the network drive to the > web server in an attempt to get the perl script to read the files on a > remote server with no success. So, what obvious thing am I missing? > Code samples: > > #! /usr/bin/perl -w > > use strict; > use CGI qw(:standard); Erm. Eric? Under what account does the CGI script run? Do you assume the script will be able to see the mapped drives? The drives are mapped per USER SESSION. If you want to assigne a drive letter to a remote share you have to use "subst", not "net use". But your biggest problem are the permissions! Most probably the script runs under a LOCAL account IUSR_MACHINENAME (or maybe not, you did not tell us what webserver you use). And of course a local account CANNOT access REMOTE files. In either case please subscribe to [EMAIL PROTECTED], post your question there and don't forget the webserver name&version. I don't feel like telling anyone how to set up their server. Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]