当前位置:编程学习 > asp >>

ASP swfupload 如何获得多个文件名的保存路径?

------------------------------------------------------------------------------------------------------ set upload=new upload_5xsoft filename=MakeFileName() set file=upload.file("Filedata") theFileName = file.FileName upfileext = getex(theFileName) '得到的文件扩展名 SaveFilePath="/products_pic"&"/"&y&m&"/"& filename & "." & upfileext '用于显示虚拟路径以及完整文件名 SaveFilePath =SaveFilePath &"," &SaveFilePath DiskFilePath = formPath &"/"& filename & "." & upfileext '文件上传的物理路径以及完整文件名 file.SaveAs DiskFilePath set file=nothing set upload=nothing response.Write SaveFilePath ------------------------------------------------------------------------------------------------------ 以上代码只能获得最后上传的一个文件保存路径: "/products_pic/201105/201152414312732042135.jpg" 请教ASP高手,如何写,才能获得上传的所有文件保存路径,如下效果: "/products_pic/201105/1.jpg,"/products_pic/201105/2.jpg,/products_pic/201105/3.jpg,
补充:更正,是要获得如下效果:
"/products_pic/201105/1.jpg,/products_pic/201105/2.jpg,/products_pic/201105/3.jpg“
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,