T
T
Tima2016-06-02 08:56:16
Google
Tima, 2016-06-02 08:56:16

How to get a direct link to download a file from google drive?

You need to get a direct link to download the file from google drive. I tried many ways, but none of them worked (constantly got to the page "Failed to check the file for viruses"). As far as I understand, the whole problem is that the file weighs more than 25 mb, and files larger than 25 mb cannot be downloaded via a direct link (I read it in some article). But maybe there is some other option? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlas-Omsk, 2020-07-05
@Vlas-Omsk

Try this PHP code: https://pastebin.com/ESLY6NLa
Already hosted on the server: myportableapps.000webhostapp.com/GDriveDownload.php?id= <your public link file id>
For example:
The original file is https://drive. google.com/file/d/1-722VShdOXyUw3Mgs...
The "direct" download link is myportableapps.000webhostapp.com/GDriveDownload.ph...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question