Answer the question
In order to leave comments, you need to log in
How to transfer files after upload?
The task is to accept files via POST on one instance, check them and immediately transfer them to another instance for compression. The files are accepted by PHP, so they are saved as temporary files. Is it possible to transfer them without saving via move_uploaded_files?
And the second, main part of the question, how to accept them and save them on another server without php? Can nginx accept them and save them with the right extension?
Answer the question
In order to leave comments, you need to log in
Nginx file upload - https://coderwall.com/p/swgfvw/nginx-direct-file-u...
And the file is already saved on the first server, most likely to the /tmp folder. The move_uploaded_files function does not save them, but, as you might guess, it moves them. You can't use it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question