Get file size by ExtJS
how can I get size of a specific file by ExtJS, without using ActiveXObject (as recommended at some website), because my program just only run on Firefox? Thank 开发者_如何学JAVAyou so much! (More detail: the file I want to get size in on my local, not on remote server)
Your code runs in a sandbox, without extensions like ActiveX you are not allowed access to the file system.
You can use a Flash object. Have a look into SWFUload
精彩评论