-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to a direct download link to a file #14593
Comments
You can append /download at the end. |
@skjnldsv I believe this issue was wrongfully closed (see below for details) Using the browser I went to the details of a file and clicked "Copy direct link". Suffixing it with /download would result in a URL such as: https://nextcloud.my.domain/index.php/f/231641/download. Tested with Nextcloud 15.0.8 and 15.0.7 on 2 separate installations. |
Please reopen because it doesn't work! |
Hey! Sorry, I might have misunderstood :) |
Correct. I'm not talking about public sharing links (haven't enabled anything like that). Just the normal (internal) links. |
Ahaaah! I get it now :) @jancborchardt @juliushaertl since we might want to add a way to directly open one of the action (the default for example for collabora direct open), we should maybe consider having a way to add the action id in the url? For example https://nextcloud.my.domain/index.php/f/231641/download would trigger the download action, https://nextcloud.my.domain/index.php/f/231641/default the default action, https://nextcloud.my.domain/index.php/f/231641/extract, the extract action (if installed?) That would require a simple change on our side to just map the available actions and trigger if one matches 🤔 |
@skjnldsv Sounds good, ideally we should also make sure that the action is represented in the files app parameters so just reloading the page with the editor open will also show it again: nextcloud.my.domain/index.php/apps/files/?dir=/&fileid=230&action=default |
You mean as a js history? |
History as well, but also so you can just copy the link and open it in a new browser tab/window and you end up on the same editing view as before. |
This is more or less the same as #12470, right? |
Yes @thebearon |
Duplicate of #12470 |
This implements this |
Where can I find a status of this issue to see when it will be implemented into Nextcloud? Thanks |
@hostingnuggets |
Ah great, so it will be implemented into Nextcloud 17. Looking forward to that! |
@hostingnuggets 18 most likely |
:( will have to be patient then... Maybe this issue shouldn't be closed then? or where can I track that this issue is on the TODO list for Nextcloud 18? |
== English == another method is to go through the browser's web developer tools: To do this, you can view the source code of the website via web developer tools. Then click on the entry to which the download link is to be searched. You only have to go a little higher in the source code, up to the class "name". The direct download link can be found in this div element. If the context menu is not changed by the website, a "Copy link address" command is also available. The copied URL address directly copies the desired file from the Nextcloud. == German == eine andere Methode ist die, über Web-Entwickler-Tools der Browser zu gehen: Hierzu lässt man sich den Source-Code der Webseite via WebEntwickler-Tools anzeigen. Anschließend klickt man auf den Eintrag, zu dem der Download-Link gesucht werden soll. Im Source-Code muss nu nur etwas höher gegangen werden, bis zur Class "name". In diesem Div-Element gefindet sich der direkte Download-Link. Wenn das Kontext-Menü von der Webseite nicht verändert wird, steht ein Befehl "Link Adresse kopieren" auch zur Verfügung. Die kopierte URL-Adresse kopiert direkt ohne Umwege die gewünschte Datei aus dem Nextcloud herunter. |
Is your feature request related to a problem? Please describe.
Currently when I copy the "direct link" to a file and send it to someone (who of course has a valid account and is logged into the same Nextcloud instance) and they click on it, it opens the web interface in the directory where the file resides. Then I still have to explain to them which file I meant and that they need to download it. (Usually I would've expected a direct link to a file (instead of to a directory) to generate a download link for that file.)
Describe the solution you'd like
It would be fine if there would be a "copy direct download link" feature. This is quite useful when I want to integrate Nextcloud with a wiki or within documents, where links to specific Nextcloud documents are put (for example).
The text was updated successfully, but these errors were encountered: