On Dec 27, 2007 3:15 PM, Nash <[EMAIL PROTECTED]> wrote: snip > The program actually works if I omit the 'LocalName' definition in > line 4, i.e. it makes the connection. However, since I don't have a > local name I can't subseqently cancel the connection, and I'd like to > be able to do that. > With the local name definition, the program doesn't make the > connection, reporting an error code of 1200. > > So: > 1. What am I doing wrong?
You are not using the strict pragma (this doesn't effect your current problem, but it is still a bad idea). It also looks (based on the answer to your second question) like X: is not a valid name. Is it possible that you have already mapped a drive to X:? > 2. Where can I find the error codes and their meanings? I would suggest consulting the oracle: http://www.google.com/search?q=smb+error+code+1200 >From that search I learned the 1200 means "The specified device name is invalid." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/