Index
2015-03-11 06:52Rafael Copquin : Send backup directly to Dropbox, GoogleDrive or OneDrive
2015-03-11 07:14Thierry Nivelet : Re: Send backup directly to Dropbox, GoogleDrive or OneDrive
2015-03-11 07:57Rafael Copquin : Re: Send backup directly to Dropbox, GoogleDrive or OneDrive
2015-03-11 11:34Thierry Nivelet : Re: Send backup directly to Dropbox, GoogleDrive or OneDrive
2015-03-11 11:40Stephen Russell : Re: Send backup directly to Dropbox, GoogleDrive or OneDrive
Back to top
Send backup directly to Dropbox, GoogleDrive or OneDrive

Author: Rafael Copquin

Posted: 2015-03-11 06:52:57   Link

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

_______________________________________________

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/55002C99.7020707@fibertel.com.ar

** 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 Rafael Copquin
Back to top
Re: Send backup directly to Dropbox, GoogleDrive or OneDrive

Author: Thierry Nivelet

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

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
Back to top
Re: Send backup directly to Dropbox, GoogleDrive or OneDrive

Author: Rafael Copquin

Posted: 2015-03-11 07:57:48   Link

Hello Thierry, long time no see!!

I have seen the info you sent me and it really needs to be studied with

time.

Thank you for the quick response

Mes meilleures salutations

Rafael Copquin

El 11/03/2015 a las 9:14, Thierry Nivelet escibió:

> 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/55003BCC.5070501@fibertel.com.ar

** 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 Rafael Copquin
Back to top
Re: Send backup directly to Dropbox, GoogleDrive or OneDrive

Author: Thierry Nivelet

Posted: 2015-03-11 11:34:49   Link

Most online services expose an HTTP API

The main issue is the technology used to trade data, whether it's

traditional post key-value pairs, XML (web service) or JSON (rest server).

Thierry Nivelet

FoxInCloud

Give your VFP app a second life in the cloud

http://foxincloud.com/

Le 11/03/2015 13:57, Rafael Copquin a écrit :

> Hello Thierry, long time no see!!

>

> I have seen the info you sent me and it really needs to be studied

> with time.

>

> Thank you for the quick response

>

> Mes meilleures salutations

>

> Rafael Copquin

>

>

> El 11/03/2015 a las 9:14, Thierry Nivelet escibió:

>> 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/55006EA9.5060909@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
Back to top
Re: Send backup directly to Dropbox, GoogleDrive or OneDrive

Author: Stephen Russell

Posted: 2015-03-11 11:40:22   Link

On Wed, Mar 11, 2015 at 6:52 AM, Rafael Copquin <rcopquin@fibertel.com.ar>

wrote:

> 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?

> ------------------------

Why not drop to the folder? You have to write to one anyway to initiate

sending. I don't think that you have access to a compression routine that

you can alter the write aspect of the process to be another type of

process, right? In VFP that is.

--

Stephen Russell

Sr. Analyst

Ring Container Technology

Oakland TN

901.246-0159 cell

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

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/CAJidMYLwCxQZuaG9Q3gwAOK8DvFyu62afxTY9J87ZxxtBvv9rg@mail.gmail.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 Stephen Russell