CLOUD

New to FreeBASIC? Post your questions here.
ike
Posts: 387
Joined: Jan 17, 2011 18:59

CLOUD

Postby ike » Mar 31, 2015 13:17

now I am uploading some txt files using libcurl. How do I do same using cloud storage??
caseih
Posts: 1518
Joined: Feb 26, 2007 5:32

Re: CLOUD

Postby caseih » Apr 01, 2015 3:18

Most cloud providers offer some sort of web-based API for accessing cloud storage. To access this from FreeBasic you'd need to implement a program that can speak http protocol to the server, as most APIs are based on remote procedure calls via http requests. If the cloud service offers a C api, you can use that directly from FreeBasic. Some APIs might be done with XMLRPC, others maybe with REST.

But no it's not as simple as uploading via ftp as everyone has their own protocols and apis.

For Google Drive, there's no official C API, but someone has begun to implement one:
https://github.com/Grive/grive

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 5 guests