Computer Hope

Software => Computer programming => Topic started by: MIRKOSOFT on October 23, 2018, 10:45:49 AM

Title: Auto-update files to domain application
Post by: MIRKOSOFT on October 23, 2018, 10:45:49 AM
I'm interested in creating an application for automatic updating of files that will be determined by registered users and my approval. Files will be uploaded to my domain.
Well, I have no example of what to build.
Can you help me with an open-source code application example?
That's what I want to get away from.
So far I do not know where to find something.
Thank you for your help.
Miro
Title: Re: Auto-update files to domain application
Post by: MIRKOSOFT on November 20, 2018, 10:09:52 AM
No idea?
Miro
Title: Re: Auto-update files to domain application
Post by: TheWaffle on November 29, 2018, 03:48:27 AM
Your post is a little too vague.
I'm interested in creating an application for automatic updating of files that will be determined by registered users and my approval.
So will each user only get an update if you approve?
Files will be uploaded to my domain.
Are the files uploaded to your domain, and then distributed to the users? Or are the users uploading to the domain?
Can you help me with an open-source code application example?
You could take many routes. Checkout
rsync https://rsync.samba.org/examples.html (https://rsync.samba.org/examples.html)
wget https://unix.stackexchange.com/questions/36798/sync-with-a-directory-listing-of-web-server (https://unix.stackexchange.com/questions/36798/sync-with-a-directory-listing-of-web-server)
Title: Re: Auto-update files to domain application
Post by: MIRKOSOFT on December 11, 2018, 06:04:48 PM
So, what, how and who:

1. user
Can upload selected file after registration.
Only one file.
When logs in, all file changes will be automatically uploaded to domain - in time interval, no change watching, original always overwritten.
To other registered users will be file not available.

2. admin (me)
Accept/decline registration, then allow uploading (or updating) file.
No watching file content, only size and type - by rules.

3. domain
Repository for registered users files.


Finally what I want to do?
I'm afraid if it is ok in case of laws.
But want to allow users sync their notes between devices and platforms.
Why own solution when others are available?
What an application this type exist for 8 and 16-bit computers?
Exactly Commodore computers...

So, now I admit reason.
Please don't crucify me. I'm working on OS for Commodore computers and want to offer this feature which is not public yet.

Miro
Title: Re: Auto-update files to domain application
Post by: TheWaffle on December 16, 2018, 12:00:05 PM
I think I understand.
On the commador you could use xmodem:
http://web.cecs.pdx.edu/~rootd/catdoc/guide/TheGuide_226.html (http://web.cecs.pdx.edu/~rootd/catdoc/guide/TheGuide_226.html)
And send the file to a computer that can connect/ run your hypothetical service.
Title: Re: Auto-update files to domain application
Post by: MIRKOSOFT on December 16, 2018, 01:05:45 PM
Thank you very much!

I try to do it by this way.
Miro
Title: Re: Auto-update files to domain application
Post by: Shandy on January 07, 2019, 01:23:37 PM

No watching file content, only size and type - by rules.


So how's that going to work? You host the file but only the client can view it? Wouldn't they then need to encrypt it before uploading it to your domain? And if this is going to be forced then wouldn't you need to provide the encryption software to your clients to make access reasonably straightforward, or inform them that you will only not be able to view their files if they encrypt it themselves?

I mean you could also encrypt the uploads as soon as they are received at your domain and only provide the key to the client, but then there's no guarantee for the end user that you haven't kept a note of the key.

Or am I missing something here?

Title: Re: Auto-update files to domain application
Post by: MIRKOSOFT on January 07, 2019, 07:33:13 PM
File content is problem - of course it needs encryption, but Imust first create main solution and after finish I can to do it, of course before release the service.

Miro