Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60001

The gzopen method does not work with file streams

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.3.3
    • Component/s: Files API
    • Labels:

      Description

      The base file system class passes the remote path for a file to the gzopen function, but gzopen does not support streams like "s3://blaw/balw"

      Example in the wild that had to implement a workaround: https://github.com/catalyst/moodle-tool_objectfs/blob/master/classes/object_file_system.php#L365

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17