I have been using Google Drive files shared with "View Everybody with Links" to store images that are included in transactional emails (like header images, etc).
I get the links using the SDK, and my links look like:
https://docs.google.com/uc?export=download&id={somefileId}.
This is basically the technique from Displaying files (e.g. images) stored in Google Drive on a website.
This works... most of the time.
Sometimes I get reports of users not being able to download the images. I cannot figure it out what is going on, but I believe it is that there is a limit on how many concurrent or maybe accumulative requests can be done on a given link and/or user account.
I am looking for documentation that confirms this. My specific question is: does anybody know the quota limits imposed by Google Drive? (if you have a link to official information it would be great).
Thanks.
Same problem for me,
It seems Google drive has limits when sharing files,
I hope this link will be useful,
https://support.google.com/drive/answer/2494827?hl=en
The help does not indicate whether the limits are daily, always ....
Regards
Related
I have the task to count how many users (colleagues) and (if it's possible), who have already viewed the videos that I have in a shared folder at my company's GSuite Google Drive.
Has anyone faced this before?
Any tips of advice will be very well received.
Regards,
I would take a look at User Report for Drive specifically designed for your purpose.
Also Drive Audit Activity Events.
Between those two I think you should find what you are looking for.
I'm a voice-over artist. I am creating a web app in which the client can make orders & upload video/sound/image/text files, I download these files to edit them then i upload the edited files & allow the client to download them.
Which is better for this purpose?
Taking in consideration
I want to allow the client to preview the edited file (video) in the
browser
Security
File privacy [I mean no one can reach the file except the client who made the order]
Performance
Price
There is no definitive answer to your question.
It confuses many customers that two, such seemingly functionally similar services, are available.
That said -- generally -- for applications where a service (your web app) is the intermediary, Google Cloud Storage (GCS) is the more appropriate solution.
GCS is a lower-level service than Drive and so you'll have a little more work to do to integrate it but it provides richer functionality too particularly with regards authorization and being able to provide more specificity about who can do what. Lastly, GCS enables so-called "Signed URLs" that would e.g. permit you to provide your customers with a secure and time-bound URL where they may upload content.
One possibly determining feature is that a Google Drive account is oriented around an individual (generally human) user (e.g. you) and your Google Drive does not permit other users to upload files; only you can create files in your Drive account although you can then share these with others.
I hope this helps you decide which service is best-suited to your needs. GCS is a very widely used service and is well-documented. You should be able to find plenty of guidance to help you develop a solution using it.
If I host images for my website on google drive, will they stop displaying after a certain number of views of the webpage? I can't find anything in google fair use but I know I've seen pages with broken image links that say things like "this file has been viewed too many times" or similar things.
Don't do it. Google decided a couple of years ago that it didn't want G Drive used in this way.
If you're looking for free website storage, AppEngine has a free tier that will probably suffice.
I've been thinking about a project I'd like to start using the Google Drive API. My idea was to make a webpage (using Laravel) to let guests download files. I'd have 3 different types of users: the guests, that would be able to download files, the logged in users, that would be able to upload files, and the admins, which would be able to do all of that plus delete files (these files would be PDFs only).
Also, the server it would run on wouldn't have a lot of hard drive space for storing the files, it would just host the page and maybe keep some of the most important files. But the thing is, I have no experience whatsoever with this API. And I would hate to go through all of this trouble just to discover that it can't be done. I've tried reading the documentation but I still don't know if this is doable, and I can't find reliable tutorials (also, I don't know what is reliable, I've never worked with it).
So, for anyone who has already done something with the API, is this doable? Will the download speeds be too slow? Will users without accounts be able to download? Also, do you know any tutorials that are reliable and do it the right way? Or is the documentation the only thing I'll find/need?
Thanks in advance.
Yes,
All three cases can be handled with google drive sdk. You need to explore API in depth. Creation and downloads are easy and upload is tricky.
I recently used google drive api in a chrome extension that uploads images directly to drive here
You can ask questions regarding api usages here.
To start with, I would suggest going through one of the given Quickstarts in Google Drive REST API Overview.
Secondly, please note of the Requirements and Best Practices that a Drive API integration must adopt.
As mentioned:
Requirements
Following an "open with" action, applications must check that the user is authorized to read/write the document to which the passed document ID refers.
Best practices
In the "create new" flow, Google Drive provides your application with an authorization code. This code should be upgraded to an access token as soon as possible before applications take other actions.
Lastly, this SO post - Good tutorial on Google Drive SDK and OAuth might also help.
I'm hosting the files for my app on Google Drive and it downloads them right after first launch. Everything is going fine but after I released new app version, the download counts are increasing and files are becoming unavailable for some reasons. Though I did not change anything.
Is there any downloading count limit or quota?
UPDATE: i've tried to open hosting folder (link in folder properties) and get error 403 on first file downloading attempt. After i deleteed/uploaded it again the problem was fixed
UPDATE2: this happened again though nothing was changed. I think this is related to download count for sure
Google does not specify any bandwidth limits, or at least I could not find any. But I think google does have some fair usage limits in play and these limitations would be to reduce abuse of the service and again google does not mention it any where, so there might be some other factors that google considers.
Here is another stack overflow question regarding this.
While I was googling for this issue, I found this forum that discussed the google drive bandwidth issue and found a screenshot. So if this screenshot is correct then there must be some limits in placed.
google does have bandwidth limitations, by which your account is held to certain standards. overage against these limits can cause a temporary suspension of your account, typically no longer than 24 hrs, as per their FAQ. ---> https://support.google.com/a/answer/1071518?hl=en
TL;DRing https://forum.rclone.org/t/what-is-the-maximum-download-quota-for-an-unlimited-google-drive-account-per-day/155/13
10TB down per day
750GB up per day
You should not use Google Drive as cloud storage for an app because it's not reliable. You can get a 24-hour ban on a file if the file gets downloaded too many times. And they don't specify the bandwidth limits. It's a gray area.
Look for services such as Dropbox or Amazon S3 instead.
There are no banwidth limits as far as Google Drive is concerned
https://productforums.google.com/forum/#!topic/drive/qcbDorj-vYE
750GB up per day according to googles website. I assume that 1TB down must be accurate.
https://support.google.com/a/answer/2490100?hl=en
Storage --> What are the Drive storage and file size limits?