I need to access some files across a network on another machine.
Should it be possible to read them via a mapped drive, assuming permissions don't get in the way or am I barking up the wrong tree.
I have tried this simple solution but with no success and it is getting late in the day so will carry on tomorrow.
Keith
Should it be possible to read them via a mapped drive, assuming permissions don't get in the way or am I barking up the wrong tree.
I have tried this simple solution but with no success and it is getting late in the day so will carry on tomorrow.
Code:
my ($bfile,$dir);
# U is the mapped drive letter
$dir='U:\\';
opendir DIR, $dir or die;
while ($bfile = readdir DIR) {
print "$bfile<br>";
}
Keith