I never was that great with scripting... I am trying to perform the following remotely:
Download an executable file from my website, http://itworksllc.net/downloads/EXECUTABLE.exe
Using another script, execute the file
The second step is a script that was provided to me by N-able, the application I'm trying to remotely download. The end-game is that I'm currently using a tool called GFI Max RemoteManagement. I'm switching from GFI to N-able and want to automate the N-able deployment.
When I run my BITSadmin script, I am presented with an error message:
C:\PROGRA~2\ADVANC~1\scripts>bitsadmin.exe /transfer "N-able" http://itworksllc.net/downloads/EXECUTABLE.exe C:\Windows\TEMP\EXECUTABLE.exe
BITSADMIN version 3.0 [ 7.5.7601 ]
BITS administration utility.
(C) Copyright 2000-2006 Microsoft Corp.
BITSAdmin is deprecated and is not guaranteed to be available in future versions of Windows.
Administrative tools for the BITS service are now provided by BITS PowerShell cmdlets.
Unable to complete transfer.
ERROR FILE: http://itworksllc.net/downloads/EXECUTABLE.exe -> C:\Windows\TEMP\EXECUTABLE.exe
ERROR CODE: 0x80200013 - The server does not support the necessary HTTP protocol. Background Intelligent Transfer Service (BITS) requires that the server support the Range protocol header.
ERROR CONTEXT: 0x00000005 - The error occurred while the remote file was being processed.
I don't care how I download the file. I need to be able to use Windows 7 to download this file. I may also need to download it on Vista or XP. GFI states: Supported script types: js, vbs, cmd, bat, pl, php, py, rb, ps1
Obviously the computer needs to be able to support these types of scripts... Assume these are out of the box versions of Windows 7 - both Home and Professional.
Hopefully someone can help!