1. You can write an http access function in the background. When someone uploads a picture to server 1, I use this module of http access to request server 2 to upload it. In fact, it is the process of simulating a human request 2. You can open a share on server 2, and after uploading successfully on server 1, copy it directly to server 2
Your problem is about transferring files between two servers.
There are so many ways to transfer files, such as
HTTP
、FTP
.The simplest and most common way is
HTTP
. If you have other special needs, you should choose a plan based on your needs.1. You can write an http access function in the background. When someone uploads a picture to server 1, I use this module of http access to request server 2 to upload it. In fact, it is the process of simulating a human request
2. You can open a share on server 2, and after uploading successfully on server 1, copy it directly to server 2
Can’t you just forward it directly