Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Mapping

Status
Not open for further replies.

flnMichael

Programmer
Nov 13, 2003
96
US
I have a perl script I am using to get files moved from one area to another. Sometimes this involves two separate servers and two separate mappings. When I attempt the first mapping it works fine, but when I try the second I get this error:

"FAILED: Could not map dest directory
Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again"


I need both of them mapped at the same time so I can do my move. Is there any way around this? I guess I should also mention these servers are on 2 separate networks connected by the computer running the script. Please help!
 
Are you connecting/disconnecting your shares all the time?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
The script is being run as a task. I am querying a database to get any entries that have a timestamp that matches the current time. If it matches then it grabs the source and destination paths associated with the entry. The paths are attempted to be mapped and are connected only as long as it takes to move the files from source to destination, then disconnected. This only occurs if I need to map both paths. If only one needs to be mapped the script runs perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top