This topic is locked
[SOLVED]

Copy upload pdf files in other server or upload to dropbox

9/29/2022 6:35:09 PM
PHPRunner General questions
A
alfonso authorDevClub member

I've searched the forum but can't find any help for what I need.
I have an application installed on two different servers. In one of the tables there is a field in which a PDF file is uploaded and what I need is that if I add a record and upload a file from server A, then from the other server B the file that has been uploaded is also seen .
I don't know if it is possible for server B to put a route to see the file. Or better yet, if it is uploaded from server A, a copy is made in a folder on server B. For example, from After record added.
Another possibility that I am evaluating is uploading the file to the cloud in Dropbox. So I don't know if this option would solve my problem and the file would be accessible from both servers.
Thank you so much for everything

Admin 9/29/2022

If you have two projects running on two different servers then hosting files on a common cloud storage like Dropbox makes total sense.