Page 1 of 1
Cloud access in Livecode on Ubuntu
Posted: Wed Apr 02, 2014 9:17 am
by flipjay
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.
Re: Cloud access in Livecode on Ubuntu
Posted: Wed Apr 02, 2014 1:18 pm
by Klaus
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
Re: Cloud access in Livecode on Ubuntu
Posted: Wed Apr 02, 2014 3:15 pm
by FourthWorld
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
Re: Cloud access in Livecode on Ubuntu
Posted: Thu Apr 03, 2014 6:58 pm
by flipjay
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
Re: Cloud access in Livecode on Ubuntu
Posted: Tue Apr 08, 2014 2:35 am
by flipjay
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