Direct download link on a web page
SolvedBeair Posted messages 40 Status Membre -
Hello,
I have a fairly simple need; on a web page, I want to place two buttons. One for downloading a PDF and the other for a DOCX.
My idea is that clicking them should directly initiate the download.
And I need these two documents to be available for a duration of 3 months (so we can rule out from the start any online file hosting services that only keep the files for a few days in their free versions).
First, I tried using Gdrive, but it doesn't really work directly; you first have to open the file in a new tab, then find the arrow in the top right that starts the download.
Next, I tried with Dropbox, but that doesn't really work either. I did find the trick of adding dl=1 at the end of the file URL to directly initiate the download, but Dropbox requires you to log in before starting the download.
That's where I am. Do you have any ideas or suggestions?
Thank you in advance.
Benoit
3 réponses
Hello.
I'm with Free and I'm using Free transfert, but the link will need to be changed every month because the maximum validity of the link is one month. I think other operators must have the same system.
Depending on the internet provider, we can also connect an external hard drive to the box and generate links without a time limit, for example, with Free it's possible to generate unlimited links via the web application Freebox OS, then through its "file explorer" which allows access to files present on the hard drive connected to the Freebox. You just need to right-click on the file, then click on "share this file," and choose the duration of availability for the file, and a link is created.
bazfile
Moderator/Security Contributor.
A hello, a response, a thank you are always appreciated.
You already have 2 good suggestions... :)
For my part, I would add: https://www.cjoint.com/
All you need to do is set it up properly when uploading, then incorporate the link(s) into the code of your page....
:)