OCS Software Deployment internal:

     period()
      for i in PERIOD_LENGTH
        foreach priority
          foreach package per priority
             ' download each frags
             ' sleep()FRAG_LATENCY
          - then sleep(CYCLE_LATENCY)
        - at the end sleep(PERIOD_LATENCY)





     Info file:
     <DOWNLOAD
    ID="1270501158"

    PRI="5" ← Priority 0 to 10
    ACT="STORE" ← Action, can be STORE/LAUNCH/EXECUTE
    DIGEST="f6ebcc9828a6f5cabe6d0f2eb31aa656" ← MD5 of the final archive
    PROTO="HTTP" ← The protocle to use to retrieve the archive parts
    FRAGS="5" ← number of parts of the archive
    DIGEST_ALGO="MD5" ← the digest method. can't be changed
    DIGEST_ENCODE="Hexa" ← the digest encoding. can't changed
    PATH="/root" ← Where to extract the archive if ACT=STORE
    NAME="" ← command to exec if ACT=LAUNCH
    COMMAND="" ← Command to run if ACT=EXECUTE
    NOTIFY_USER="0" ← Windows user pop-up
    NOTIFY_TEXT="" ← Windows user pop test
    NOTIFY_COUNTDOWN="" ← etc
    NOTIFY_CAN_ABORT="0"
    NOTIFY_CAN_DELAY="0"
    NEED_DONE_ACTION="0"
    NEED_DONE_ACTION_TEXT=""
    GARDEFOU="rien"
    />


    Storage:
     FILE are stored this way
     1270501158/
     1270501158/info
     1270501158/1270501158-1
     1270501158/1270501158-2
     1270501158/1270501158-3
     1270501158/1270501158-4
     1270501158/1270501158-5


