Answer the question
In order to leave comments, you need to log in
How to sync a local folder to Amazon S3?
Wordpress is running on a CentOS server, and it accepts media file uploads to a certain folder. It is necessary to synchronize it into a bouquet on S3, tk. it is from there that the files are distributed to site visitors. The appearance of the uploaded file on S3 is expected almost immediately, because. the link from there it is loaded into the draft post. Therefore cron once-in-5-minutes is not an option, for example.
Answer the question
In order to leave comments, you need to log in
You can try my project: RioFS - allows you to mount an S3 bouquet as a local folder.
But there are several limitations, one of them is that it does not support "adding" data to files. That is, if you wrote the data to a file and closed it, then in the future you cannot open it and add something to the end.
But usually this is not required. For example, we have a proftpd server that writes files to the RioFS folder (about 10Gb per day of medium-sized files).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question