Http streaming to file
Moderator: General Moderators
Http streaming to file
Has anyone figured out how to save a http stream to file (mp3 or ogg) _ I really want to do this on the server side... I already can save http streams using my recording software but I want to do this without having to use my (client) machine.
Re: Http streaming to file
copy should work fine as long as the stream ends (as opposed to something like streamed radio).
Re: Http streaming to file
yes, it was streaming radio I was thinking of...
Re: Http streaming to file
If I know how long to record for then I can use an fclose I suppose at the desired time. I suppose I have a while loop counting down then do the fclose, is there a better way?