IE下:
var objFSO = new ActiveXObject("Scripting.FileSystemObject");
var objFile = objFSO.getFile(filePath);
var fileSize = objFile.size; //size in kb
IE下:
var objFSO = new ActiveXObject("Scripting.FileSystemObject");
var objFile = objFSO.getFile(filePath);
var fileSize = objFile.size; //size in kb