Answer the question
In order to leave comments, you need to log in
How to store a file online?
I have a simple python program with a database in it. It may be updated regularly. They are just txt files. I can go into this program from one PC and update the txt file. And from another PC. I need to make sure that these files are synchronized and stored somewhere on the Internet. And when updating a file on one PC, the other should immediately receive a new txt file
Answer the question
In order to leave comments, you need to log in
You need a server that will do it. You can use ftp, or you can write your own server that is constantly connected to clients and that sends an updated file when it changes.
For example, using the S3 protocol. The files are then stored (usually) in the cloud. Access them with an API key.
If it’s enough to update the files once and that’s it, then it’s enough to use the AWS Lambda service. Suitable for rare / infrequent program launch.
The AWS Lambda Free Tier includes 1M free requests and 400,000 GB-seconds of compute per month.
you can order a VPS and deploy there, for example, ftp.
if speed is not critical, but security is critical, then sshfs.
or another hosting option with nextcloud. nextcloud supports webdav, which is good enough for most backends.
> make sure that these files are synchronized,
+ install the off-client nextcloud, for synchronization.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question