Cloud access in Livecode on Ubuntu

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
flipjay
Posts: 8
Joined: Tue Mar 25, 2014 8:02 pm

Cloud access in Livecode on Ubuntu

Post by flipjay » Wed Apr 02, 2014 9:17 am

A previous question regarding browser failure indicated the were known problems when developing on Ubuntu.

My development environment is Ubuntu and my question is:
Is there ANY way to R/W a Cloud datasource from this code development environment?

My requirements are very simple -- my application must have a (cloud) common file (text is OK)
for all devices running my application.

Any suggestions, or timeline for a solution would be appreciated.

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Cloud access in Livecode on Ubuntu

Post by Klaus » Wed Apr 02, 2014 1:18 pm

Hi flipjay,

I'm no internet expert, but can't you just use GET and POST to access files on a server?

Code: Select all

...
put url "http://www.your_cloud_server.com/a_folder/common_file_text_is_ok.txt" into tCommonfile
...
POST might require a CGI on the server to manage saving/storing the posted data on the server.


Best

Klaus

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Cloud access in Livecode on Ubuntu

Post by FourthWorld » Wed Apr 02, 2014 3:15 pm

Ubuntu One or other Ubuntu Cloud services? If Ubuntu One, I have no code currently but am keenly interested in supporting that myself, so perhaps I could lend a hand. I've been using U1 for maintaining a single Plugins folder for my LiveCode work so all of my machines stay in sync with the latest tools. Very helpful. Would love to have that as a storage option for some of my products coming up.

Looking at the API, it seems the only hard part would be the OAuth - the storage itself after that seems pretty straightforward:
https://one.ubuntu.com/developer/files/ ... iles/cloud
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

flipjay
Posts: 8
Joined: Tue Mar 25, 2014 8:02 pm

Re: Cloud access in Livecode on Ubuntu

Post by flipjay » Thu Apr 03, 2014 6:58 pm

My highest priority is reaching a spread sheet in Google Drive, however any port in a storm.
I can even get away with a comma delimited file.

The problem seems to be that Ubuntu browser capabilities are not currently supported by Live code.

See earlier response from Roger Neil of Livecode staff
http://forums.runrev.com/viewtopic.php? ... 52#p100071

flipjay
Posts: 8
Joined: Tue Mar 25, 2014 8:02 pm

Re: Cloud access in Livecode on Ubuntu

Post by flipjay » Tue Apr 08, 2014 2:35 am

Well, I tried the suggestion of Post and Get with gdrive and have Get working -- but a simple document file (from Gdrive) has so much "junk"
wrapped around it the comma delimited text is useless. Was unable to make Post work with either Dropbox or Gdrive.

Found a workable solution using FTP. Unfortunately some planed spreadsheet functions I needed will now have to be coded within the app.
Sort of a surprise that the Browser in Live Code does not work when developing in Ubuntu but FTP does!

Also found:
http://storagemadeeasy.com
which appears able to accept FTP and then replicate to both gdrive and to Dropbox.
Since I still cant get useful data back from Gdrive, exploring this is not a high priority
Anyone else using this approach?

flipjay

Post Reply