Changes between Version 2 and Version 3 of ownCloud-shared-links-access


Ignore:
Timestamp:
10/30/15 10:53:07 (9 years ago)
Author:
Thomas Kisler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ownCloud-shared-links-access

    v2 v3  
    1010
    1111The user has the possibility to share his/her files over a link. Unfortunately the files can not directly be accessed over this link, but by adding a parameter to the link, they complete folder can be downloaded as a zip file. An Example would be
    12 
    13 https://clarin.fz-juelich.de/owncloud/public.php?service=files&t=76027110ab537d125ec2e77a0cc447fa
     12[https://clarin.fz-juelich.de/owncloud/public.php?service=files&t=76027110ab537d125ec2e77a0cc447fa]
    1413
    1514becomes then
    1615
    17 https://clarin.fz-juelich.de/owncloud/public.php?service=files&t=76027110ab537d125ec2e77a0cc447fa&download
     16[https://clarin.fz-juelich.de/owncloud/public.php?service=files&t=76027110ab537d125ec2e77a0cc447fa&download]
    1817
    1918The zip file that is linked than can be downloaded by a normal GET request to the server.
     
    2524Zip archive data, at least v3.0 to extract
    2625
    27 The error that is thrown is "java.util.zip.ZipException: invalid LOC header (bad signature)"
     26The error that is thrown is
     27{{{
     28 java.util.zip.ZipException: invalid LOC header (bad signature)
     29}}}
     30
    2831
    2932Unfortunately, the standard ZIP-library in Java is only able to unpack successfully to v2.0. Whatever this means (I couldn't find out, but if anybody has an idea, feel free to add it).