minhtuancn / SaveToDrive

Download files directly to google drive from the link | PHP Project

Home Page:http://save2drive.mytechblog.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SaveToDrive

Simple PHP scripts for downloading files to server or google drive from link.

  1. Download file directly to the server from the link. (LinkUploadToServer.php)
  2. Upload file directly to google drive using upload form. (FormUploadToGoogleDrive.php)
  3. Download file directly to google drive from the link. (LinkUploadToGoogleDrive.php)

#How to use

  1. Download the SaveToDrive
  2. Open LinkUploadToGoogleDrive.php file
  3. Enable the Google Drive API (If not already done) as you will require the client_id, client_secret and uri
    a. Refer link: Enable Google Drive API (step-1)
  4. Finally edit the following details in the file:
    a. Copy <CLIENT_ID> from the Google developer console
    b. Copy <CLIENT_SECRET> from the Google developer console
    c. Edit <COMPLETE_URL_OF_LinkUploadToGoogleDrive.php>

Demo example

Link: save2drive.MyTechBlog.in
Then select the third link to download file directly to google drive from link.

About

Download files directly to google drive from the link | PHP Project

http://save2drive.mytechblog.in


Languages

Language:PHP 100.0%Language:CSS 0.0%