Page 1 of 1

Could we make a local File Server with LiveCode?

Posted: Thu Apr 25, 2019 3:18 pm
by capellan
Hi All,

After reading many forum threads and mail list
messages, I could not find a definitive answer:
Could we make a local File Server with LiveCode?

The setup for this local File server is the following:

1) The Teacher connect a wifi modem in the classroom

2) Then, the Teacher connects his phone to this wifi modem
and open the LC Server App.

3) Students connect to the wifi modem and open their
Client App

4) Students connect to the Teacher's LC local File server.

5) Students download and upload files to the Teacher
local File Server running in the Android phone.

In the phone where I am testing this, I have installed
an App named OS Monitor that allows to see all open
ports in the phone. (Google apps opens a lot of ports!)

https://play.google.com/store/apps/deta ... itor&hl=en

Does anyone remember a similar project made with LiveCode?
Which difficult problems could I find in this project?
Thanks in advance!

Al

Re: Could we make a local File Server with LiveCode?

Posted: Thu Apr 25, 2019 4:30 pm
by FourthWorld
Custom implemenations of servers of nearly any type:

Possible? Yes.
Optimal? Unlikely.
Desirable? Maybe, depending on task specifics.

What would be the advantage giving students direct write access to a teacher's phone as opposed to using an existing file sync service like Google Drive, Dropbox, Nextcloud, etc?

Re: Could we make a local File Server with LiveCode?

Posted: Thu Apr 25, 2019 9:10 pm
by capellan
The classroom do not have internet access

Re: Could we make a local File Server with LiveCode?

Posted: Fri Apr 26, 2019 1:00 am
by FourthWorld
Maybe a spare laptop running Nextcloud?

You could write one custom in LC, but it's a lot of work.

And I wouldn't recommend using the teacher's phone as the file repository.

Re: Could we make a local File Server with LiveCode?

Posted: Fri Apr 26, 2019 1:24 am
by capellan
An old laptop could work as a server too
so I will try this second option as well.

Al

Re: Could we make a local File Server with LiveCode?

Posted: Fri Apr 26, 2019 2:55 am
by FourthWorld
With a spare computer and a little time, you can bring the best of the Internet into the classroom by building your own Internet-in-a-Box:
https://meta.wikimedia.org/wiki/Internet-in-a-Box