Re: Send backup directly to Dropbox, GoogleDrive or OneDrive

Author: Thierry Nivelet

Posted: 2015-03-11 at 07:14:15

Hi Rafael,

you need to use the web-based API, VFP being a http client ...

eg for dropbox: https://www.dropbox.com/developers/core/docs

you can eg use the wwHTTP package:

with newobject('wwHTTP', 'wwHTTP.prg')

.addPostKey('user', <userID>)

.addPostKey('password', <password>)

response = .httpGet(' https://www.dropbox.com/1/oauth2/authorize')

...

endwith

(you need to read the API spec. to figure out the exact requests needed

and their syntax)

Thierry Nivelet

FoxInCloud

Give your VFP app a second life in the cloud

http://foxincloud.com/

Le 11/03/2015 12:52, Rafael Copquin a écrit :

> I would like to include a VFP routine to do the following:

>

> Zip or RAR the database and all tables and indexes

> Send them automatically to either DropBox, OneDrive or GoogleDrive

>

> I know that they can be sent to the applicable folders in the PC and

> then they would automatically be sent to the cloud.

>

> But I wonder if there is a way to access the cloud repository

> directly, without sending the file to the local folder first

>

> I that is the case, what would be the VFP code to use?

>

> Rafael Copquin

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/55003197.4070405@foxincloud.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2015 Thierry Nivelet