ASP online update files

Source: Internet
Author: User
<%
Rem ####################################### ######################################## ######
Rem # Online update statement
Class Cls_oUpdate
Rem ####################################### ##########################
Rem # Description: ASP online update
Rem ## version: 1.0.0
Rem # Author: Xiao Yue mark
Rem # MSN: xiaoyuehen (at) msn.com
Rem # replace (at) @
Rem # Copyright: since it is shared, there is no copyright, but it must be limited to network communication and cannot be used in traditional media!
Rem # If you can retain these instructions, I would like to thank you more!
Rem # If you have better code optimization and related improvements, please remember to let me know. Thank you very much!
Rem ####################################### ##########################
Public LocalVersion, LastVersion, FileType
Public UrlVersion, UrlUpdate, UpdateLocalPath, Info
Public UrlHistory
Private sstrVersionList, sarrVersionList, sintLocalVersion, sstrLocalVersion
Private sstrLogContent, sstrHistoryContent, sstrUrlUpdate, sstrUrlLocal
Rem ####################################### ##########################
Private Sub Class_Initialize ()
Rem # Complete version URL starting with http: //
Rem # Example: http: // localhost/software/Version.htm
UrlVersion = ""

Rem # upgrade URL, starting with http: // and ending/
Rem # Example: http: // localhost/software/
UrlUpdate = ""

Rem # update the local directory, starting with/and ending with/. Update the directory at/beginning for the current site to prevent writing to other directories.
Rem # The program will check whether the directory exists. If the directory does not exist, it will automatically create
UpdateLocalPath = "/"

Rem # History software files generated
UrlHistory = "history.htm"

Rem # Last prompt
Info = ""

Rem # Current version
LocalVersion = "1.0.0"

Rem # Latest version
LastVersion = "1.0.0"

Rem # Extensions of information files of different versions
FileType = ". asp"
End Sub
Rem ####################################### ##########################
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.