•  
      request #13479 Cannot download a file associated to a release using the plugin webdav
    Infos
    #13479
    Aurélien Tisné (atisne)
    2019-06-13 13:54
    2019-06-11 16:01
    13690
    Details
    Cannot download a file associated to a release using the plugin webdav
    As a project member, I cannot download a file attached to a release using the webdav plugin. I always get the response:

    <?xml version="1.0" encoding="utf-8"?>
    <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
    <s:exception>Sabre_DAV_Exception_RequestedRangeNotSatisfiable</s:exception>
    <s:message>The file size exceed the authorized limit.</s:message>
    <s:sabredav-version>1.4.4</s:sabredav-version>
    </d:error>

    Even if the file size is small (2 Ko).
    The download works fine using the classic Web UI (showfile of the plugin "file").

    The URL used to download looks like:
    curl --user <user> -O https://myserver.fr/plugins/webdav/myproject/Files/mypackage/myversion/thefile.pdf

    A download using a graphical client (nautilus) gives the same result.
    A download using cadaver https://myserver.fr/plugins/webdav/ (webdav command line client) gives:
    416 Requested Range Not Satisfiable
    Empty
    Delivery/File release system
    11.2
    CentOS 6
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups