in reply to Cannot read files from folder on another windows server
The only reasons I can think of why that might not work are:
When you try it from the Explorer, you've previously done a Tools->Map network drive, but you haven't done the equivalent before running the script.
When you run the script, it is running under a different account -- say a webserver id -- that doesn't have permission to access the network.
What output do you see if you add the following to the top of your script:
warn `net share`; warn `dir \\\\Server\\e\$`; ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot read files from folder on another windows server
by mukkollu (Initiate) on Sep 16, 2011 at 13:23 UTC | |
by mukkollu (Initiate) on Sep 16, 2011 at 13:24 UTC | |
by Anonymous Monk on Sep 16, 2011 at 14:12 UTC |