Foxtable(狐表)用户栏目专家坐堂 → 上传文件


  共有2252人关注过本帖树形打印复制链接

主题:上传文件

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107303 积分:545776 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2020/10/26 16:06:00 [显示全部帖子]

    Case "receive.htm"
if e.Files.Keys.count > 0 then
        For Each key As String In e.Files.Keys
            For Each fln As String In e.Files(key)
                e.SaveFile(key,fln,"d:\web\uploadfiles\" & fln) 
'
保存接收到的文件
            Next
        Next
        e.WriteString("OK")
else
e.WriteString("请添加文件!")
end if
End
 Select

js

function afterSubmit(result){
    hide("tst1");
    if (result=='OK') {
        show("tst2");
        location="upload.htm";
    }
    else{
alert(result);
        show("tst3",2000);
    }
}

 回到顶部