function getFileSize(filePath)   
{   
   var image=new Image();   
   image.dynsrc=filePath;   
   alert(image.fileSize);   
}   此代码在IE6下面OK ,但是在IE7下面提示无法设置dynscr属性,拒绝访问 
各位大侠,有什么方法可以解决这个问题么?或是有替代的方法,Thank You