We'd like to use javascript (we're using Ext) to check that the upload
file is under a size limit, and of a particular type (a .XXX extension
would be fine) before uploading. So, of course, this would happen on
the client side, preventing unnecessary uploads to the system.
I recall trying this with plain Javascript and found that access to a
lot of information for file objects (e.g., file size) wasn't available.
If I recall, you could inspect the object, but some attributes would
always return NULL. I would expect this to be due to the limitation
that restricts JS from accessing the local file system.
Personally, I'd love to be corrected on this one. :)
You _might_ be able to do this with Flash?
-- Brad
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/