Direct link to files within folder with share link
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
- Support having a direct link to a file within a folder
like https://cloud.domain.com/s/wwPHmbeDPW7MtWG/dan-meyers-ucmEHogvn1g-unsplash.jpg (or maybe as a GET param) - Support direct link to download too (partially down already)
like https://cloud.domain.com/s/wwPHmbeDPW7MtWG/download/dan-meyers-ucmEHogvn1g-unsplash.jpg
Steps to reproduce
- Share a folder with files with public link
Expected behaviour
I expect that every file in shared folder with share link has own direct link. Link would be visible in share properties. Link could be like https://www.cloud.example/index.php/s/vIa0YS4zUsZLe3J/fileName. Easier to share a file over chat, email etc.
Actual behaviour
File have to have own share link.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading apps/files_sharing/appinfo/routes.php, especially the existing download route linked in the issue, and trace how public folder shares resolve file paths. Done means files inside a public folder share have usable direct view and download links matching the requested URL patterns, with those links available from the share properties.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100