jeremywilms Posted January 27, 2010 Share Posted January 27, 2010 How can I process a file which is being downloaded to the server? What I want to do, is manage all the server downloading myself. So instead of saving the file on the server, I can process it while it's being 'downloaded', but not saved to disk. Quote Link to comment https://forums.phpfreaks.com/topic/189965-process-a-file-being-downloaded/ Share on other sites More sharing options...
oni-kun Posted January 27, 2010 Share Posted January 27, 2010 Unless its binary data there is no hope of 'processing' anything. Your question makes no sense unless you give us an example of what you are wanting to do, it doesn't even seem so viable. Why would you want to do this? To be able to process it, it HAS to be written to your server, temp or not. Quote Link to comment https://forums.phpfreaks.com/topic/189965-process-a-file-being-downloaded/#findComment-1002286 Share on other sites More sharing options...
jeremywilms Posted January 27, 2010 Author Share Posted January 27, 2010 oni-kun, I want to be able to broadcast a .avi file through a fms server. .avi files do not need to be complete in order to begin watching them. If I can catch the data being sent to the webserver, instead of saving it into a file, I can feed it into the fms, and have it broadcast to clients. Quote Link to comment https://forums.phpfreaks.com/topic/189965-process-a-file-being-downloaded/#findComment-1002287 Share on other sites More sharing options...
jeremywilms Posted January 27, 2010 Author Share Posted January 27, 2010 Right now, the only solution I see is to write a small http server which does this for me. It wouldn't take long, but is it for sure that this isn't possible to do in php? Quote Link to comment https://forums.phpfreaks.com/topic/189965-process-a-file-being-downloaded/#findComment-1002328 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.