Hello,
I'm trying to call a batch file from vbscript. The batch file contains an ftp command which uses an ftp script.
I'm trying to get vbscript to wait until the transfer is completed before going onto the next step.
Function Upload(uploadBatchFile_PATH)
'Starts upload of files
dim sh
set sh = createobject("wscript.shell")
call sh.run(uploadBatchFile_PATH, 1, True)
End Function
But the rest of my script still runs.
Any help is much appreciated.
I'm trying to call a batch file from vbscript. The batch file contains an ftp command which uses an ftp script.
I'm trying to get vbscript to wait until the transfer is completed before going onto the next step.
Function Upload(uploadBatchFile_PATH)
'Starts upload of files
dim sh
set sh = createobject("wscript.shell")
call sh.run(uploadBatchFile_PATH, 1, True)
End Function
But the rest of my script still runs.
Any help is much appreciated.