I did a quick google search and found this code. I think it will only
work on windows, in Internet Explorer
<html>
<head>
<script language="JavaScript">
function A()
{
var oas = new ActiveXObject("Scripting.FileSystemObject");
var d = document.a.b.value;
var e = oas.getFile(d);
var f = e.size;
alert(f + " bytes");
}
</script>
</head>
<body>
<form name="a">
<input type="file" name="b">
<input type="button" name="c" value="SIZE" onClick="A();">
</form>
</body>
</html>
how can i restrict file uploads above certain size ?
is there a way of checking the size of the file before an upload begins ?
thanks for help
--
In Christ,
Erich Musick
http://erichmusick.com
In the same way, let your light shine before others, so that they may
see your good works and give glory to your Father who is in heaven. --
Matthew 5:16 NKJV