Simple file upload and move

(imported topic written by B7TN_Pete_Ladesic)

Im trying to delete a file and replace it. My action script is “completing” however the new file is not being moved to its desired directory. Below is my action script. Please help! Thanks

download http://xxxxxxxxxx:52311/Uploads/d59220d53183ec2bac0eafc8d748224fbd3bebbb/big1.tmp

continue if { (size of it = 202119 and sha1 of it = “d59220d53183ec2bac0eafc8d748224fbd3bebbb”) of file “big1.tmp” of folder “__Download”}

extract big1.tmp

delete “C:\Program Files\OpenInfo32\OPENINFO.exe”

move “__Download\OPENINFO.EXE” “C:\Program Files\OpenInfo32\OPENINFO.EXE”

(imported comment written by BenKus)

Hey WVU05,

Hmmm… everything looks good there… I am surprised it isn’t working as expected…

Maybe try changing the “move” to a “copy” and then try to see if the file exists in either the program files folder or the BigFix Agent “__Download” folder (you can search for the file in the BigFix Agent folder after you send the action).

Ben

(imported comment written by B7TN_Pete_Ladesic)

Thanks, the copy command worked!