First connection in script is unsuccessful

Advertisement

JRanone
Joined:
Posts:
2
Location:
Oklahoma, USA

First connection in script is unsuccessful

I have numerous vendors requiring the same information from our facility (hospital) and have combined all of the vendor connections into one script file. The Script opens the connection, navigates the remote directories, uploads the files then disconnects and connects with the next vendor and repeats the process. However, the cd commands on first vendor connection fail more often than they're successful, causing the upload to fail. Is there a command I can use to insert a time delay into the script between opening the connection and navigating the directories, or will I have to use the poor man's delay I found in a response in the forums?

Reply with quote

Advertisement

You can post new topics in this forum