Page 1 of 1

Cloud/Web Storage for User Files/Documents?

Posted: Sun Jan 08, 2017 9:35 pm
by keithglong
Hi All,

I am working on an app that will allow users to create custom documents (with images) for online viewing. Because it would be convenient to allow users to be able to publish to the Web through the app, I am currently researching cloud/Web hosting plans that can be accessed via LiveCode and which allow for ample storage space/traffic. (Such an app would probably be too demanding for shared hosting due to the potential number of images in the documents.)

In a nutshell, users would:

1) Download the app.
2) Create a document with images.
3) Create a user account (within the app) and then click on the "Publish" button to upload the related files to the server.
4) The app would return a link that the user could distribute for viewing of the document.

I would welcome any input from those of you who have done similar. I need a solution that is reliable, affordable, and that would allow for the creation of user accounts on the fly. Also, I would need ample storage space and a solution that would allow access via LiveCode. Users will have the ability to upload the documents to their own ftp servers, but I would like a solution that's "built in" to the app for instant publishing for a small fee (i.e., a monthly/yearly hosting fee). I am currently exploring cloud storage solutions, ftp reseller programs, etc. Any advice/feedback would be most welcome.

Thanks!

Sincerely,

Keith "Boo" Long
Gulf Breeze, Florida

Re: Cloud/Web Storage for User Files/Documents?

Posted: Thu Feb 09, 2017 1:40 pm
by MaxV

Re: Cloud/Web Storage for User Files/Documents?

Posted: Sat Feb 11, 2017 9:14 pm
by Lagi Pittas
Hi

Why not use Dropbox for 7.99 a month for 1tb of storage and use the Dropbox library that is somewhere on this forum

Regards Lagi

Re: Cloud/Web Storage for User Files/Documents?

Posted: Sat Feb 11, 2017 9:23 pm
by FourthWorld
Can Dropbox be used for web page publishing?

Re: Cloud/Web Storage for User Files/Documents?

Posted: Sat Feb 11, 2017 11:37 pm
by Lagi Pittas
Yes you can if it's just HTML no server side stuff.

But you need your own domain of course and a way to change the CNAME record
To point to Dropbox's IP.

Personally I would store all the images and user generated content in
Directories per user on Dropbox on and have the main HTML
on another hosting provider giving you the best of both.

A small disk vps can be had pretty cheap and keep
The standard stuff / HTML/ logos/common resources there but the user generated stuff on dropbox.
I have a Large VPS for my main web stuff but use HOSTM shared account to play with livecode server.
Very good support and would work well with the Dropbox resource sharing.
It would probably cost less than $20 a month for both with 1tb of storage.
It won't batter you with eye watering price increases like AWS.

https://en.m.wikipedia.org/wiki/CNAME_record
http://www.dropboxwiki.com/tips-and-tri ... th-dropbox

Regards Lagi


Lagi

Re: Cloud/Web Storage for User Files/Documents?

Posted: Sun Feb 12, 2017 12:15 am
by ghettocottage
Personally I would store all the images and user generated content in
Directories per user on Dropbox on and have the main HTML
on another hosting provider giving you the best of both.
I am a big fan of DigitalOcean for that sort of thing. A $5.00/month droplet can handle a pretty decent load and it is fairly simple to install Livecode Server. Having said that, it does take some setup work to get a VPS running and locked down properly. Some people might find that daunting.

Re: Cloud/Web Storage for User Files/Documents?

Posted: Sun Feb 12, 2017 5:34 pm
by jacque
FourthWorld wrote:Can Dropbox be used for web page publishing?
I believe a recent change prevents that now.

Re: Cloud/Web Storage for User Files/Documents?

Posted: Wed Feb 15, 2017 5:27 pm
by keithglong
Hi All,

Thanks for the feedback. Regarding DropBox, Jacqueline is correct; HTML rendering was discontinued last year for Basic users and will be discontinued for Pro/Business users in September of this year... See the following thread:

https://www.dropboxforum.com/t5/Manage- ... d-p/187920

However, HTML rendering can be accomplished using a 3rd-Party service (such as one of the services mentioned here--see items 1-3 on the page):

https://www.maketecheasier.com/4-ways-t ... n-dropbox/

However, as Lagi pointed out, why not use the available DropBox libraries?

See: http://forums.livecode.com/viewtopic.ph ... 9&start=75

(And a big thanks to both Gerard and Trevix.)

Based on the stack provided by Trevix, I created a LiveCode Server script that allows me to transfer files from DropBox over to my On-Rev account. From there, I can then render the HTML/Images and then delete the files from the server shortly thereafter. It is working quite well (although I am still experimenting). Using this approach, developers can use the awesome storage capabilities of DropBox without having to "up" the storage on their hosting accounts... Also, unlike basic HTML rendering (using one of the aforementioned services), using this approach also allows developers to utilize server-side scripting as needed.

Thanks again for the feedback.

Sincerely,

Keith "Boo" Long
Gulf Breeze, Florida