Open dasgarner opened 6 years ago
This does what it does because of support for things like chunked uploads, XHR form data, Blob API, etc, etc. Chunked uploads absolutely require that the file is not stored in a "php temporary" location - i.e. that they are moved out into library/temp
as they currently are.
As nice as it would be to solve this problem in 1.8 series, it will be a complete rewrite of the file upload functionality, which I do not think appropriate for a patch version change.
The uploaded file arrives in PHP
/tmp
Then Xibo moves the file out of the tmp folder, into its own
library/temp
folder where it does some post processing on it (like finding out the duration of the video).Finally, once the post processing has been completed, we move the file again - this time into the
/library
folder itself, with its final name.