you mean like http://host.com/getafile.php?23535 which is what I'm
doing at the moment the server still wouldn't know the mimetype to send though - I supply the header and I get it from what I stored in a type field in the table when the file was uploaded (the binary file data is stored in a blob field and the filename is stored in another field) there isn't anything for the server to examine to find out it's mimetype. I still don't understand why Adobe are imposing a mimtype on our uploads and preventing us from changing it to whatever we want though. Tom Chiverton wrote: On Wednesday 12 July 2006 11:15, Phil Marston wrote:If you issue a redirect to the content, your web server should provide the correct MIME type.but the file doesn't exist (it's reconstructed from a database entry) so the server knows nothing about it.You could rig things up so that http://host.com/getafile/23535 retrieved file #23535 and spat it out, for instance. -- ______________________________________________________________ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ ______________________________________________________________ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495__._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- Re: [flexcoders] Re: FileReference and mimetypes Tom Chiverton
- Re: [flexcoders] Re: FileReference and mimetypes Phil Marston
- Re: [flexcoders] Re: FileReference and mimetypes Tom Chiverton
- Re: [flexcoders] Re: FileReference and mimetype... Phil Marston
- Re: [flexcoders] Re: FileReference and mime... Tom Chiverton
- Re: [flexcoders] Re: FileReference and... Phil Marston
- Re: [flexcoders] Re: FileReference... Tom Chiverton
- Re: [flexcoders] Re: FileRefer... Phil Marston
- Re: [flexcoders] Re: FileRefer... Tom Chiverton
- Re: [flexcoders] Re: FileRefer... Phil Marston
- Re: [flexcoders] Re: FileRefer... Tom Chiverton
- Re: [flexcoders] Re: FileReference and mimetypes Phil Marston