Google Drive API upload file to folder

Upload files to Google Drive

Users can upload any type of file to Google Drive and convert certain types of files to web-based Google document formats such asGoogle Docs, Sheets,or Slides. See Manual upload settingsto learn how.

Storage and limits

Drive storage is shared between Google Drive, Gmail, and Google Photos. The amount of free storage for each user depends on your type of account:

  • Frontline
2 GB per user
  • G Suite Basic

30 GB per user

  • Business Starter

30 GB per user

  • Business Standard

2 TB per user added to pooled storage*

  • Business Plus

5 TB per user added to pooled storage*

  • Enterprise Essentials
1 TB per user added to pooled storage,
up to a maximum of 25 TB.
  • Enterprise editions

As much as you need.

For details, contact a Google Sales representative.

  • Essentials

    No longer available for new customers

100GB per user added to pooled storage,
up to a maximum of 2TB

  • Essentials Starter
15 GB per user
  • Business Essentials
100GB per user added to pooled storage,
up to a maximum of 2TB
  • GSuite Business

Unlimited storage
(1 TB if 4 or fewer users)

  • Education Fundamentals
  • Education Standard
  • Teaching and Learning Upgrade*
  • Education Plus

100 TB pooled cloud storage

Additional storage:

  • Teaching and Learning Upgrade100 GB per user
  • Education Plus20 GB per user
  • Individual personal accounts
  • Legacy free edition of GSuite

15 GB

*Requires 5 or more users (1 TB if 4 or fewer users).

Individual users can only upload 750GB each day between My Drive and all shared drives. Users who reach the 750-GB limit or upload a file larger than 750GB cannot upload additional files that day. Uploads that are in progress will complete. The maximum individual file size that you can upload or synchronize is 5TB.

Administrator controls

  • Google Drive: When you turn on the Drive service in the Admin console, your users can upload and sync any file to their accounts.

  • APIs:Customers can use an API to add, edit, and remove files in batch, as well as to manage and generate information about their users' documents (however, it doesn't generate quota usage information at this time). For example, administrators can use the API to upload a large number of files and share these files with all users in their domain. Learn more about the API upload feature.

Security

  • File types: Users can upload any type of file, including executables (for example, .exe or .vbs) and compressed files.

  • Virus scanning:Google Drive scans a file for viruses before the file is downloaded or shared. If a virus is detected, users cannot convert the infected file to a Google Doc, Sheet, or Slide, and they'll receive a warning if they attempt these operations.

    The owner can download the virus-infected file, but only after acknowledging the risk of doing so. Users can still share the file with others, send the infected file via email, or change ownership of the file.

    Only files smaller than 100 MB can be scanned for viruses. For larger files, a warning is displayed saying that the file can't be scanned.

  • Content policy: All Google Drive files, including uploaded or converted files, follow the same program policy. Learn more.

  • Phishing and malware: If files are shared with your users from outside your organization, Google Workspace automatically checks them for phishing and malware. If a problem is detected, users' access to the file is blocked for their protection.

    If Google Workspace detects a user violating Google's acceptable use policy, Google reserves the right to immediately suspend the user. If there's a problem throughout your organization, Google reserves the right to suspend your organization's Google account and prevent all administrators from accessing Google Workspace services. In this case, Google will send a notification to the primary admin's secondary email address.

Need more help?

Sign in for additional support options to quickly solve your issue