Upload files bypassing your server directly to the cloud storage, can now be implemented?
Reply to discussion (solution)
It is not possible, the data of the uploaded file is packaged in the HTTP packet, and the PHP program does not start until after the HTTP packet has been unpacked
If you are calling the cloud storage client directly on the client, then there is no half-penny relationship with PHP.
You want to talk about the API? See if the merchant offering cloud storage has the API to give you direct transfer directly to that side.
Can only be uploaded to their servers to sync to the cloud and then delete
Theoretically, there is only one possible way to use the HTML and JS of the client browser to pass the file directly to the server in another domain, that is, the cloud, but this is cross-domain, the browser will be banned. But you can try it across domains.
You see the cloud support does not support the upload after the jump back, and give you information