function copyPic1(){
fso = new ActiveXObject("Scripting.FileSystemObject");
f = "<img src= 'http://10.0.3.31/axis-cgi/jpg/image.cgi?resolution=640x480' />"
document.write(f);
fso.CopyFile(f, "C:\\AppServ\\www\\camera\\Pic\\camera-0.jpg"); << บรรทัดนี้อ่ะคับที่ไม่ทำงาน
}
function copyPic2(){
fso = new ActiveXObject("Scripting.FileSystemObject");
fso.CopyFile("C:\\AppServ\\www\\camera\\pic1.jpg", "C:\\AppServ\\www\\camera\\pic2.jpg");
}
</script>