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

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.