Dropbox Delphi Component

Dropbox Dlephi component is a non-visual Delphi component that allows working with Dropbox accounts using Delphi. The component supports Delphi 7 and newer Delphi versions and works directly with the service using official Dropbox API v2. Official API use guarantees maximum compatibility and fewest possible modifications to future versions.

Features

  • Access to account and file/folder info
  • Create and edit folders
  • Upload, update and download files
  • Move and copy files between folders
  • Rename and delete files
  • Share files and folders
  • Get Delta info
  • Unicode support
  • HTTP, SSL, SOCKS4, SOCKS5 proxy servers support
  • HTTPS support

Examples

Connecting to Dropbox and showing list of folders and files in treeview.

procedure Browse(Parent: TTreeNode = nil);
var
  FFileInfo: TDFileInfo;
  CurNode: TTreeNode;
  Path: String;
begin
  if Parent = nil then
    Path := '/'
  else
    Path := TDFileInfo(Parent.Data).Path;
  if Dropbox.FindFirst(FFileInfo, Path) = 0 then
    repeat
      if Parent = nil then
        CurNode := TreeView.Items.AddChildObject(TreeView.Items.GetFirstNode,
        ExtractDName(FFileInfo.Path), FFileInfo)
      else
        CurNode := TreeView.Items.AddChildObject(Parent,
        ExtractDName(FFileInfo.Path), FFileInfo);
      if FFileInfo.IsDir then
        Browse(CurNode);
    until Dropbox.FindNext(FFileInfo) <> 0;
end;

Uploading Document.doc to Path folder.

Stream := TFileStream.Create('Document.doc', fmOpenRead);
    try
      Dropbox.Upload(Stream, Path + 'Document.doc');
    finally
      Stream.Free;
    end;

Deleting file with FileInfo.

var
  FileInfo: TDFileInfo;
begin
  FileInfo := ...;
  Dropbox.Delete(FileInfo);

Compiled Demo Screenshots

Click on the screenshot to view a larger image.

Dropbox DemoDropbox 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.1 Berlin, works under IDE only
Download0.5 MB

All Cloud Components in Bundle

With source code
Free updates for one year
Priority lifetime support

Single developer license

For 1 developer
$399 Buy Now!

Site license

For unlimited developers in the company
$999Buy Now!

Version History

DDC 2.2Sep. 08, 2016

DDC 2.11Jul. 04, 2016

DDC 2.1Jun. 15, 2016

See more version history