nextcloud / nextcloud/server

Direct link to files within folder with share link

Open
#3,234 8 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description


Steps to reproduce
  1. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.