Cloud/Web Storage for User Files/Documents?

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
keithglong
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 337
Joined: Sun Jul 03, 2011 2:04 am
Location: Gulf Breeze, Florida

Cloud/Web Storage for User Files/Documents?

Post by keithglong » Sun Jan 08, 2017 9:35 pm

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

MaxV
Posts: 1354
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

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

Post by MaxV » Thu Feb 09, 2017 1:40 pm

Livecode Wiki: http://livecode.wikia.com
My blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 251
Joined: Mon Jun 10, 2013 1:32 pm

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

Post by Lagi Pittas » Sat Feb 11, 2017 9:14 pm

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5462
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

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

Post by FourthWorld » Sat Feb 11, 2017 9:23 pm

Can Dropbox be used for web page publishing?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 251
Joined: Mon Jun 10, 2013 1:32 pm

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

Post by Lagi Pittas » Sat Feb 11, 2017 11:37 pm

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

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 229
Joined: Tue Apr 10, 2012 9:18 am

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

Post by ghettocottage » Sun Feb 12, 2017 12:15 am

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.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3978
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

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

Post by jacque » Sun Feb 12, 2017 5:34 pm

FourthWorld wrote:Can Dropbox be used for web page publishing?
I believe a recent change prevents that now.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

keithglong
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 337
Joined: Sun Jul 03, 2011 2:04 am
Location: Gulf Breeze, Florida

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

Post by keithglong » Wed Feb 15, 2017 5:27 pm

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

Post Reply

Return to “Internet”