(imported topic written by johnism91)
Ok I know I have to be missing somthing …
Below work fine by its self
download http://TEST/Uploads/d4b1c261d8b66bd6c8e667219643c528ea1ef60e/RightFax93.tmp
continue if {(size of it = 14385570 AND sha1 of it = “d4b1c261d8b66bd6c8e667219643c528ea1ef60e”) of file “RightFax93.tmp” of folder “__Download”}
extract RightFax93.tmp
And this works fone as a stand alone vbs ( well have not been able to succesfully test the copy “_download” but it work with a test folder in place.
Dim Message
Dim fso
set fso = createobject(“scripting.filesystemobject”)
fso.CreateFolder “C:\INSTALL\RightFax93”
fso.movefolder “__Download*.*”, “C:\INSTALL\RightFax93”
set fso=nothing
WScript.Sleep 5000
WScript.Quit
wait C:\INSTALL\RightFax93\setup.exe
so my total action looks like this
download http://test/Uploads/d4b1c261d8b66bd6c8e667219643c528ea1ef60e/RightFax93.tmp
continue if {(size of it = 14385570 AND sha1 of it = “d4b1c261d8b66bd6c8e667219643c528ea1ef60e”) of file “RightFax93.tmp” of folder “__Download”}
extract RightFax93.tmp
Dim Message
Dim fso
set fso = createobject(“scripting.filesystemobject”)
fso.CreateFolder “C:\INSTALL\RightFax93”
fso.movefolder “__Download*.*”, “C:\INSTALL\RightFax93”
set fso=nothing
WScript.Sleep 5000
WScript.Quit
wait C:\INSTALL\RightFax93\setup.exe
and I get and error "Unable to prase action script for Action1 line 4 (first Dim )
Unknow action command"
Thanks for help ,
John