brayk1990 has asked for the wisdom of the Perl Monks concerning the following question:
However, I feel that this may not be the best method by which to do so. For one when doing this I always recieve System error 55. This error has meant nothing to me, but the fact that it occurs is some what troubling. Also sometimes if the script is run multiple times in a row it will fail to connect to the server. Giving me an error that states "Could not enter the specified path ...path name here...The network connection could not be found. I am wondering if there is a better way by which I can connect to these servers. They are windows servers, and it is not possible for me to map all the servers to my machine because this code will be used by many people and is set to search close to 20 servers. Thank you for any help in advance.qx|net use \\\\$server\\C\$\\VoiceGenie\\mp\\log $ServerPassword /use +r:$username|; find( \&finddata, "\\\\$server\\c\$\\VoiceGenie\\mp\\logs\ +\" ) or warn "Could not enter the specified path \\\\$server\\ +c\$\\VoiceGenie\\mp\\logs\\.\n"; #Function that allows the use of Fil +e::Find. qx|net use \\\\$server\\C\$\\VoiceGenie\\mp\\log /D|;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Server authentication
by ww (Archbishop) on Apr 09, 2012 at 21:18 UTC | |
|
Re: Server authentication
by Marshall (Canon) on Apr 10, 2012 at 03:41 UTC | |
by brayk1990 (Novice) on Apr 13, 2012 at 13:55 UTC | |
by Marshall (Canon) on Apr 22, 2012 at 08:21 UTC |