How to get direct download link for publicly share file? (ocis)

I’ve just installed OCIS and I’m trying to link to a publicly shared file directly, but it doesn’t seem to work.

On previous ownCloud, one could append /download to the share link, but that feature doesn’t seem to work anymore.

You need more details…
What version of ownclowd?
I just tried your thing (adding /download) in 10.6 stable and it worked perfect.
…a

The issue is about ownCloud Infinitescale not ownCloud 10.

1 Like

I’m talking about ownCloud Infinite Scale version 4.0.2.

Hi!

I’m not sure why the /download feature isn’t working for you in OCIS. However, you can still link to a publicly shared file directly by using the following format:

https :// <your-ocis-domain>/index.php/s/<public-share-link>/download

For example, if your OCIS domain is example.com and the public share link is 1234567890, then you would link to the file as follows:

https://example.com/index.php/s/1234567890/download

I hope this helps!

1 Like

Seems this no longer works on oCIS 6.x.x and 7.x.x. Format is now https://<your-ocis-domain>/remote.php/dav/public-files/<public-share-link>/<encoded-filename>, which is problematic as you need to know the filename being shared and have to encode it like My%20File%20Escaped.txt. Is there no way to get direct download links straight out of oCIS? This is hugely debilitating for use.