| 发表于:2007-01-10 12:51:30 楼主 |
写一个页面,想把本机上的图片文件(如:c:\abc.jpg)上传到服务器上去。我本来用fso的copyfile方法来传,但不能成功,这是代码: set fso=server.createobject( "scripting.filesystemobject ") file_a=request.form( "file ") file_b=server.mappath( "/image/logo.jpg ") fso.copyfile file_a,file_b,true |
|
|
|
|