Google Drive Delphi Component

Google Drive Delphi Component is a non-visual component that allows to work with Google Drive (including Documents) using Delphi. The component supports Delphi 7 and higher versions and works directly with Google using official API. Official API use guarantees maximum compatibility and fewest possible modifications to future versions.

Features

  • Create and edit folders
  • Upload, update and download files in different formats
  • Move and copy files between folders
  • Rename and delete files and folders
  • Work with shared items
  • Export Google documents
  • Full OAuth 2.0 authentification support (including two-step verification)
  • Access to XML code for each object with possibility to read and modify any fields for an object
  • Unicode support for all text fields
  • HTTPS support

Examples

Browsing Google Drive and adding items to TreeView.

var
  FFileInfo: TGDFileInfo;
  CurNode: TTreeNode;
Begin
  GoogleDrive := TGoogleDrive.Create;
  if GoogleDrive.FindFirst(FFileInfo) = 0 then
    repeat
      CurNode := FilesTV.Items.AddChildObject(FilesTV.Items.GetFirstNode,
      FFileInfo.Title, FFileInfo);
      if FFileInfo.IsDir then
        CurNode.HasChildren := True;
    until GoogleDrive.FindNext(FFileInfo)  0;
End;

Uploading "MyDocument.docx" file.

    Stream := TFileStream.Create('MyDocument.docx', fmOpenRead);
    try
      NewFile := GoogleDrive.Upload(Stream, 'MyDocument.docx');
    finally
      Stream.Free;
    end;

Deleting file Obj.

GoogleDrive.Delete(Obj);

Compiled Demo Screenshots

Click on the screenshot to view a larger image.

Google Drive DemoGoogle Drive Demo2

Single developer license

For 1 developer
$99 Buy Now!
With source code
Free updates for one year
Priority lifetime support

Site license

For unlimited developers in the company
$399Buy Now!
With source code
Free updates for one year
Priority lifetime support

Compiled demo

Working example with source code
Download1.7 MB

Trial version

For Delphi 7 - 10.2 Tokyo, works under IDE only
Download0.5 MB

All Google Components in Bundle

With source code
Free updates for one year
Priority lifetime support

Single developer license

For 1 developer
$299 Buy Now!

Site license

For unlimited developers in the company
$999Buy Now!

Version History

GDDC 2.9Jan. 26, 2017

GDDC 2.8Dec. 15, 2016

GDDC 2.7Sep. 15, 2016

See more version history