Hello Ben,shamless plug: http://www.radinks.com/upload/ - Rad Upload can impose file size limitations before a single byte is transfered. Yes it's java - but you can have your web page in such a way so that the java plug in auto installs for people who do not have it.
Friday, April 9, 2004, 3:36:04 AM, you wrote:
BR> Well, is there actually a way to do this or a way to check the filesize
BR> and send a nice message to the user that the file is over the BR> limit--other than just some error being thrown?
Not until it gets to the server, no. JavaScript can't read local
filesystem files, Java I believe can - but you can't rely on people
having it installed (I don't for example), even Flash has no local
file access abilities (thank goodness).
--
Raditha Dissanayake.
---------------------------------------------
http://www.radinks.com/print/upload.php
SFTP, FTP and HTTP File Upload solutions
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php