Direct link functionality for Google Drive
< Feedback on Google Drive Direct Links
Hi, trup. Thanks for the feedback!
The problem with using the https://drive.google.com format is that it carries a possibility of the request being disrupted by a confirmation redirect for files that are too large to be virus scanned. A workaround is to use the format "https://googledrive.com/host/folder-id/filename.ext", but this requires the entire folder in which the file is contained to be public rather than simply the file itself, so I basically ended up going with the most reliable of two options.
That is, such behavior
instead
is this normal?
This file save firefox dialog.
It is one and the same file. Size >100mb.
Yea, it seems exe files have their extension stripped. Simply appending it to the end of the file name should allow it to run as normal, but I can see how that'd be a pain, so I've modified the code to preserve file names for files hosted from a public folder using the format mentioned above. Otherwise, the original file-id format is used. Give it an update and test it out. Just make sure the folder from which your exe is hosted is public.
When I click open direct, nothing happens. Folder is shared.
Ah, seems to fail with list view. Working on a fix.
Should be good now. Give it a go.
Thank you, it works!
Wrong file name
Hi.
Many thanks for your work.
But the files are downloaded with name = file_id. ie "0B0VjOS0bYS32ZDd3YkEzSmVacUk" instead of "filename.ext".
If you change the address of the script on https://drive.google.com (instead https://googledrive.com) the files are downloaded normally.