Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-683

Create one "directdownload.php" script to handle some downloads

XMLWordPrintable

      Right now we are publishing all moodle / langs / plugins ... downloads by using the "download.php script" that features accounting of downloads (http://download.moodle.org/stats.php).

      But some downloads are escaping from being controlled:

      • lang packages downloaded from within moodle.
      • timezone files downloaded from within moodle.
      • environment files downloaded from within moodle.

      it would be great to have one "directdownload.php" script able to serve all those files performing the accounting (and without the js and redirects present in current download.php script). And then, HEAD only, point to it for downloading those components.

      For reference, here it's a nice file server (chuncked) for PHP that we could use as reference:

      http://teddy.fr/blog/how-serve-big-files-through-php

      Martin, Y/N ? Ciao

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Martin Dougiamas Martin Dougiamas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.