Background
As I've previously alluded to here https://discussions.soti.net/thread/soti-surf-send-a-url-in-a-script-1-1 I have some specific requirements when it comes to distributing OS update .zip files to several hundred Honeywell devices.
In the context of the following paragraphs, points 4 and 5 from my previous discussion are important. Here they are again:
"4. The download must take place overnight and, ideally be windowed so that I can stop it without having to take down the [connection to the] server, should it overrun. Manually stopping a download is not ideal but is accpetable.
5. In some areas, our WiFi network suffers intermittent connectivity / packet loss meaning downloads may need to resume / restart."
The current challenge
I am now in a position where I need to deploy a smaller incremental update to the devices (216MB) and have been experimenting with uploading the file to our MobiControl cloud instance and testing a file sync rule. The file sync is working well but doesn't cater for windowed downloads - that is to say "download between 12:30am and 4:30am only", for example. I believe I can solve this problem with some Javascipt setting an integer value in an ini file on the device - the integer defining whether the time window is open or closed. Then back in MobiControl's web UI I can use a filter group, based on the custom data from the .ini file defining "window open" as the target of a file sync rule.
However, the above does make me wonder about the resilience of a profile with package payload in terms of restarting incomplete downloads. The windowing functionality is easy to set in the profile's assign options but will MobiControl manage a failed download which was embedded within a package?
Is there a good reason to carry on developing my Javascript or should I switch to the profile-based approach? Previous advice suggests that the file sync is robust but if the profile&package option is equally as robust it makes my window requirement very easy to impliment.