Downloading files from google drive to server with php code is very slow

Hello,

I make automatic backups with Google Drive service account using PHP.
For example, manually downloading a 10 MB file to the remote server takes 5 minutes.
It wasn’t this slow before, what could be the reason?

Again, downloading to local computer via PHP is equally slow

Hi Adem,

Can you share some code to review - may help to view the steps being taken for the file downloads.

I shared it on github.
Although the description is in Turkish, it is in the google drive library plugins.

This problem did not exist at first, it was downloading very quickly.
However, with cron jobs, I backup the databases and web directories of 10 websites on Google Drive every night at 00:00.
I am using drive in a Normail gmail account.
Could Google have restricted downloads because I make regular backups every night?

I didn’t make any changes to the codes.
Thanks for be interested

Sponsor our Newsletter | Privacy Policy | Terms of Service