ASP Code
  Home arrow ASP Code arrow Page 2 - Getting Remote Files With ASP Continued
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP CODE

Getting Remote Files With ASP Continued
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 150
    2005-08-16

    Table of Contents:
  • Getting Remote Files With ASP Continued
  • Let’s Code
  • PerformUpdate() Explained
  • ProcessFile() Explained
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Getting Remote Files With ASP Continued - Let’s Code


    (Page 2 of 5 )

    What we need to do first is retrieve and parse the request from the query string. Then you can add in whatever simple or complex license checking algorithm you want in the indicated space. Then we call the subroutine - called PerformUpate() - that creates XML to return to the client.

    Dim sGenKey, sCurrentVersion, fsoFileObject, objStream, xmlDOMDocument

    If ( Request.ServerVariables("HTTP_METHOD") = "GET" ) Then

          sGenKey           = Trim(Request.QueryString("sGenKey"))

          sCurrentVersion   = Trim(Request.QueryString("sCurrentVersion"))

         

          ' do processing here to validate the License Key

         

          Set fsoFileObject = CreateObject("Scripting.FileSystemObject")

          Set objStream     = Server.CreateObject("ADODB.Stream")

          Set xmlDOMDocument= Server.CreateObject("Msxml2.DOMDocument.4.0")

          Call PerformUpdate()

         

          Set fsoFileObject = Nothing

          Set objStream     = Nothing

          Set xmlDOMDocument= Nothing

    End If

    More ASP Code Articles
    More By Justin Cook


       · Hi, this is just a note to all readers: hope you enjoy my article!
       · I need to be able to browse images at the computer and uplodade to the web page, can...
       · no, i would just use ASPupload for that
       · I love the article and it was very informing. Is there a way to accomplish the same...
     

    ASP CODE ARTICLES

    - ASP Forms
    - ASP: The Beginning
    - Getting Remote Files With ASP Continued
    - Inbox and Outbox Manipulation in ASP
    - Relational DropDownList Using VB.NET
    - Ad Tracking URL Hits
    - Use ViewState to display one record per page...
    - Send Email using ASP.NET formatted in HTML
    - ASP File Explorer
    - ASP/XML Interview questions by Srivatsan Sri...
    - Various methods of setting Date values to a ...
    - Conditional DataGrid Item and using checkbox...
    - Fill .NET Listbox with SQL DataReader
    - Filling Dropdown box using Code-Behinds in C#
    - FLAMES code sample written in .NET What is F...

     
    Application Delivery: Everything You Wanted to Know, but Didn`t Know You Needed to Ask
    A comprehensive guide to examining the topics of Wide-area Data Services and app....

     
    Best Practices: Safe and Secure Hardware Asset Recovery
    Companies increasingly must meet EPA and local requirements for the disposal of ....

     
    Managing SSL Security in Multi-Server Environments
    Read this white paper to learn how to simplify management of your organization's....

     
    Open Source Security Myths
    Open Source Software (OSS) is computer software whose source code is available t....

     
    Power and Cooling Capacity Management for Data Centers
    This paper describes the principles for achieving power and cooling capacity man....

     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT