以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  [求助]关于程序远程更新  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=177371)

--  作者:xubing051018
--  发布时间:2022/5/19 12:25:00
--  [求助]关于程序远程更新
关于发布后的程序实现远程升级,
参照帮忙文档,在服务端程序的目录里建了一个update文件夹,里面放了客户端程序升级用的update.txt,update1.zip文件。
现在我不知道服务端的程序要怎么写,帮助里要没找到
是在服务端程序的 httprequest里写?
If e.path = "update"
    Dim fl As String = "\\web\\update\\update.txt" 
    If filesys.FileExists(fl)
       e.WriteFile(fl)
    End If
    Dim fl2 As String = "\\web\\update\\update1.zip" 
    If filesys.FileExists(fl2)
       e.WriteFile(fl2)
    End If
    Return
End If
试了没有效果。

--  作者:有点蓝
--  发布时间:2022/5/19 13:40:00
--  
不需要服务端程序