问题是这个样子的!上传过程实现之后,得到的文件名是2007118131355250.doc
而我想实现上传前是什么名字,上传后仍然还是那个名字.
例如:上传前为123.doc 上传后也是为123.doc
请高手指点一下!谢谢~~
共有三个文件.
第一个是上传直观文件,例如:
<form action= "Upfile_SoftPic.asp " method= "post " name= "form1 " enctype= "multipart/form-data ">
<input name= "FileName " type= "FILE " class= "tx1 " size= "40 ">
<input type= "submit " name= "Submit " value= "上传 ">
</form>
------解决方案--------------------
filename=ofile.FileName & ". " & fileExt
------解决方案--------------------
filename=SavePath&year(now)&month(now)&day(now)&hour(now)&minute(now)&second(now)&ranNum& ". "&fileExt
把这去掉就是原来的名了