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.
Cloud access in Livecode on Ubuntu
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Cloud access in Livecode on Ubuntu
Hi flipjay,
I'm no internet expert, but can't you just use GET and POST to access files on a server?
POST might require a CGI on the server to manage saving/storing the posted data on the server.
Best
Klaus
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
...
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Cloud access in Livecode on Ubuntu
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
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
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Cloud access in Livecode on Ubuntu
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
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
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
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