Skip to content

esironal/SaveToDrive

 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%