How to create non-expiring direct links to video files on Google Drive that will download the file instead of opening them in the browse ?
-
1Do shared links normally expire?– MrWhiteCommented May 18, 2015 at 11:18
-
@w3d Sometimes my download manager ask for new URL to continue the dowlnload when I pause and resume downloads. However I need to create direct links to video files on Google Drive that will download the file instead of opening them in the browse.– BishanCommented May 18, 2015 at 11:29
Add a comment
|
1 Answer
To do this you will have to change the URL you give to your users.
For example, the link Google gives you is something like:
https://drive.google.com/open?id=ABC123&authuser=0
You need to change the URL into the form:
https://drive.google.com/uc?id=ABC123&authuser=0&export=download
Basically what I did is:
- Replaced
open
withuc
. - Added at the end of the URL a
&
(Ampersand) and:export=download
- I made sure the
id
part (in my exampleABC123
but in real life it will be something likeWFlEUEVTBRxVNGupYnRhVUk0B5UP
) stays the same!
Now when users click this link, the file will start to download. (You should encourage your users to use download managers, for speed.)