Print Page | Close Window

Google Drive download

Printed From: TMS Software
Category: VCL Components
Forum Name: VCL Cloud Pack
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=14259
Printed Date: 24 Feb 2020 at 10:02am


Topic: Google Drive download
Posted By: Roger Emmanuel
Subject: Google Drive download
Date Posted: 24 Nov 2019 at 4:16pm
Hello,

I have a problem with the file download in google drive. if I download a file larger than 500 MB, I have an insufficient memory error and the file is not released by the process.
This problem also exists in the demo version of CloudStorageDemo.

Best regards,
Emmanuel.



Replies:
Posted By: Bart Holvoet
Date Posted: 25 Nov 2019 at 3:28pm
Hi,

The TMS VCL Cloud Pack update (v4.0.3.2) that was released earlier today improves the behavior when downloading very large files.
Can you update to the latest version, make sure TAdvGDrive.Logging is set to False and try again?


Posted By: Roger Emmanuel
Date Posted: 25 Nov 2019 at 7:47pm
Thanks a lot, it's OK.

Emmanuel


Posted By: Bart Holvoet
Date Posted: 26 Nov 2019 at 8:35am
Thank you for notifying the problem was resolved.


Posted By: de souza ferreira
Date Posted: 07 Feb 2020 at 7:29pm
When I download an xml file from the GDrive API through the TAdvDrive component, the file is being downloaded with its incorrect content.

inside the tags of the downloaded xml file a message from Google Drive appears informing me that my computer or network may be being used for automated queries and that to protect our users we are unable to process your request at this time.



do you know how to tell me what to do to be able to download xml files normally?



note: I"ve been using this component for 2 years and always managed to connect to the Google Drive API and download and delete files normally.


Posted By: Bruno Fierens
Date Posted: 07 Feb 2020 at 10:30pm
We are not aware of issues with XML files.
Is this issue unique to XML files? If so, I'm not sure why Google would return XML files in a different way.


Posted By: de souza ferreira
Date Posted: 08 Feb 2020 at 4:13pm
I work exclusively with xml files. I can't tell if Google Drive is having problems with Downloading other types of files.


Posted By: Caliari Arnaldo
Date Posted: 08 Feb 2020 at 10:08pm
Hello,

i'm having the same problem, it's 5-6 days now. The files that i'm tryng to download are .zip , different sizes, from approx. 500 KB to 10 MB.

I'm using now VCL Cloud Pack 4.0.3.4, but it's the same with a previous version (the 4.0.1.0).
.
Enabling the logging, i receive this message:

20200208T212817:HTTPS GET RESULT:<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>Sorry...</title><style> body { font-family: verdana, arial, sans-serif; background-color: #fff; color: #000; }</style></head><body><div><table><tr><td><b><font face=sans-serif size=10><font color=#4285f4>G</font><font color=#ea4335>o</font><font color=#fbbc05>o</font><font color=#4285f4>g</font><font color=#34a853>l</font><font color=#ea4335>e</font></font></b></td><td style="text-align: left; vertical-align: bottom; padding-bottom: 15px; width: 50%"><div style="border-bottom: 1px solid #dfdfdf;">Sorry...</div></td></tr></table></div><div style="margin-left: 4em;"><h1>We're sorry...</h1><p>... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.</p></div><div style="margin-left: 4em;">See <a href="https://support.google.com/websearch/answer/86640">Google Help</a> for more information.<br/><br/></div><div style="text-align: center; border-top: 1px solid #dfdfdf;"><a href="https://www.google.com">Google Home</a></div></body></html>

Regards, ciao !

Arnaldo



Posted By: Caliari Arnaldo
Date Posted: 08 Feb 2020 at 11:17pm
Maybe this could be the reason (the access token in the query) ?

https://cloud.google.com/blog/products/application-development/upcoming-changes-to-the-google-drive-api-and-google-picker-api



Posted By: Caliari Arnaldo
Date Posted: 08 Feb 2020 at 11:24pm
no, sorry for the wrong indication, the above limitation it's only for alt-media files.



Posted By: Bart Holvoet
Date Posted: 10 Feb 2020 at 11:44am
Hi,

Thank you for notifying. The download problems are indeed caused by a recent change in the Google Drive API.
This issue has now been fixed and the update will be available with the next TMS VCL Cloud Pack release.


Posted By: Caliari Arnaldo
Date Posted: 10 Feb 2020 at 1:51pm
Hi Bart, thank you for the fix.

Now that the problem has been identified and fixed... do you know approximately when will be released the next version ?

This problem has blocked the usability of one of my software, and i have a very angry customer.

If you already know that in 2-3 days the next version will be released, ok, i think that i can convince my customer to wait.
If you don't know the release date or if it's too late (only for my necessity, no pun intended), i have to find some workaround, so it's better that i start immediately.

Thanks as always

Arnaldo





Posted By: Bart Holvoet
Date Posted: 10 Feb 2020 at 1:57pm
The TMS VCL Cloud Pack release is planned for later this week.
You can request an incremental source update by sending an email to  mailto:help@tmssoftware.com - mailto:help@tmssoftware.com


Posted By: Caliari Arnaldo
Date Posted: 10 Feb 2020 at 1:59pm
Thank you Bart, i will send the request immediately.

Arnaldo



Posted By: de souza ferreira
Date Posted: 10 Feb 2020 at 2:04pm
I have more than 20 companies to serve. Totaling more than 60 accounts to download 24 hours a day.
I need this update urgently !!!
I am downloading thousands of files manually and there are more than 60 GDrive accounts. 
It takes me more than 5 hours a day to download these files.
Please ask for the greatest urgency in the release of this new version.


Posted By: Bart Holvoet
Date Posted: 10 Feb 2020 at 2:43pm
Originally posted by de souza ferreira

I have more than 20 companies to serve. Totaling more than 60 accounts to download 24 hours a day.
I need this update urgently !!!
I am downloading thousands of files manually and there are more than 60 GDrive accounts. 
It takes me more than 5 hours a day to download these files.
Please ask for the greatest urgency in the release of this new version.

You can request an incremental source update by sending an email to  mailto:help@tmssoftware.com - mailto:help@tmssoftware.com
The source update will be provided as soon as possible (typically in less than 24 hours).
Please note that the build process to release an update takes some time and work. Also, other products have already been scheduled for release before TMS VCL Cloud Pack.



Print Page | Close Window