A
A
Alexey Trofimenko2012-12-04 14:05:19
Google
Alexey Trofimenko, 2012-12-04 14:05:19

Delphi + Google Drive (or Dropbox). Maybe?

Good afternoon, habrausers.
The answer to the following question is of interest:
Is it possible to perform actions with files (located in a specific account) on Google Drive (or Dropbox) from an application written in Delphi. For example select a file in Delphi OpenDialog and save it to a known public folder?

A prerequisite is that client programs (GDrive or Dropbox) are not installed on the workstation.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
pasha_golub, 2012-12-04
@pasha_golub

Maybe. Here is the PHP implementation. Works for Urya. Rewrite to Delphi and order.

A
Alexey, 2013-11-14
@HaJIuBauKa

Maybe. Using https://www.dropbox.com/developers/datastore/docs/http#list_datastores you ask the user for a login/password. Log in via the API and then receive and load JSON data via HTTP requests

A
Alexey Ashurok, 2012-12-04
@AotD

But in order for this to be picked up by OpenDialog, you need to make it believe in the existence of files :)
As the simplest and most clumsy solution, use the above API to build a “Potemkin village” in AppData from files and folders physically located in DropBox (with zero size of course), and when you select files, start uploading them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question