I wrote a script that runs on our local internet iis server. the script resides in the servername/inetpub/scripts folder.
I'm trying to simply open a mapped drive file, write to it, and close it.
I can write to any local disk and subfolder i.e. c: or d: in this case, but not any network drive (another computer). I get an error when it trys to open the file:
below is a snippet of the code:
my $iclib = "upload3.txt";
open (OUTPUT6, ">g:\\$iclib") || die "Error opening file $iclib";
- "g" is the network drive. If I replace "g" with "c" (the local disk) I'm able to open the file just fine.
I also checked the shared permissions that the map drive is pointing to and it looks fine.
Any ideas??
Thanks,
Rich
I'm trying to simply open a mapped drive file, write to it, and close it.
I can write to any local disk and subfolder i.e. c: or d: in this case, but not any network drive (another computer). I get an error when it trys to open the file:
below is a snippet of the code:
my $iclib = "upload3.txt";
open (OUTPUT6, ">g:\\$iclib") || die "Error opening file $iclib";
- "g" is the network drive. If I replace "g" with "c" (the local disk) I'm able to open the file just fine.
I also checked the shared permissions that the map drive is pointing to and it looks fine.
Any ideas??
Thanks,
Rich