Hmmm actually having said all that I've seen local file manipulation done via JavaScript. It's not pretty and it puts up a security warning (as it should!).
Check out the saveFile functions in the source over at: http://www.tiddlywiki.com For IE it's using an ActiveX object that is usually accessed via VBScript. For Mozilla based browsers there's some other arcane incantations. I'm sure both platforms allow you to get file size through similar methods. Karl Rudd On 2/13/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: > As Karl said, it's practically impossible for JavaScript to obtain this kind > of information. However, you may want to look at this: > > http://www.nabble.com/jQUpload---request-for-features-tf3189691.html > > It's going to use Flash to upload the file, and Flash *does* know how large > the file is (see > http://livedocs.macromedia.com/flash/8/main/00002223.html) > > > On 2/12/07, Karl Rudd <[EMAIL PROTECTED]> wrote: > > Unfortunately web browsers don't expose that sort of information to > > JavaScript, at least not in a cross-browser manner. So no, jQuery > > doesn't. > > > > Karl Rudd > > > > On 2/13/07, Ram Peters <[EMAIL PROTECTED]> wrote: > > > Does jQuery support File Size Check before uploading? Lets say only > > > max 2MB upload size allowed. > > > > > > Thank you > > > john > > > > > > _______________________________________________ > > > jQuery mailing list > > > discuss@jquery.com > > > http://jquery.com/discuss/ > > > > > > > _______________________________________________ > > jQuery mailing list > > discuss@jquery.com > > http://jquery.com/discuss/ > > > > > > -- > Aaron Heimlich > Web Developer > [EMAIL PROTECTED] > http://aheimlich.freepgs.com > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/