ABOUT
 With this module, FusionInventory can accept OCS Inventory software
 deployment order.
 With this module, the agent is also able to do peer to peer file
 exchange with the other FusionInventory Agent.

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

LICENSE
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
USA

