Re: wodSFTP --vbs --Retry the Connection (General questions)
Openpc,
I think this is your choice. Since you are doing this inside VBS and in blocking mode, you could do something like this (pseudo code):
while sftp1.state != connected
sftp1.hostname = something
sftp1.login = something_attempt_1
sftp1.password = something_attempt_1
sftp1.blocking = true
sftp1.connect
wend
above loop will iterate until it connects. Now, it's your job to change Login and Password so they're taken from somewhere and populated each time differently. I don't think you should use events in VBS for this purpose.
Can you try something like that?
Kreso
Complete thread:
- wodSFTP --vbs --Retry the Connection - openpc, 2006-04-12, 09:39
- Re: wodSFTP --vbs --Retry the Connection - woddrazen, 2006-04-12, 10:15
- Re: wodSFTP --vbs --Retry the Connection - openpc, 2006-04-12, 11:16
- Re: wodSFTP --vbs --Retry the Connection - wodSupport, 2006-04-12, 16:09
- Re: wodSFTP --vbs --Retry the Connection - openpc, 2006-04-14, 04:13
- Re: wodSFTP --vbs --Retry the Connection - wodSupport, 2006-04-15, 00:09
- Re: wodSFTP --vbs --Retry the Connection - openpc, 2006-04-14, 04:13
- Re: wodSFTP --vbs --Retry the Connection - wodSupport, 2006-04-12, 16:09
- Re: wodSFTP --vbs --Retry the Connection - openpc, 2006-04-12, 11:16
- Re: wodSFTP --vbs --Retry the Connection - woddrazen, 2006-04-12, 10:15