Filesize and filetype issues
Andy Lo A Foe
andy.loafoe at gmail.com
Mon Apr 21 10:29:15 UTC 2008
Perhaps you can store filesize and filetype (and any other metadata
required) in a your application database together with the mogilefs
key? I.e. calculate these params once at upload/add time?
On Mon, Apr 21, 2008 at 12:20 PM, Bhavin Shah <bhavin at bigadda.biz> wrote:
> Hi All,
> Actually am facing a problem, after loading the photos and audios onto the
> mogfs, how can I get the filesize, filetype for that photo and audio.
> For filesize i don;t want to hit the mog db.
> Currently am pulling the photos from mogfs, writing it as file onto my
> local and then checking for the mime type of that photos.
> Is there any way I can get directly from mogfs. Its very urgent, please
> Thanks in advance
> Warm Regards,
> *Bhavin Shah*, Software Engineer - Technology
More information about the mogilefs