I haven't fully investigated this issue yet but I thought I'd post here as it is late and you never know, I may get some input before the morning.
So here is the scenario...I have a method that creates a "Media Object" for our users. When a media object is created, the user is given a list of files to link to the object. Upon selecting that file, I would like to populate as much data on the form as I can (never trust users!)
One of the types of media will be FLV files. Now I have a function that reads the header of an FLV file and gets the meta data...so here is my problem:
If I create a hosted object from the file, and then try to open it and seek the header data (using fseek) I get a "stream does not support seeking" error.
So, what is the best way to get a set number of bytes from the file? I cannot have the whole file download, because most of the user files will be 100meg and upwards.
cURL? HTTP Content-range? Another way?
Thanks for any and all input.
Paul