SunQuest
 
       ASP Code
  Home arrow ASP Code arrow Page 5 - 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 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
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

    AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th -1:00PM EST. Register Today!

    Getting Remote Files With ASP Continued - Conclusion


    (Page 5 of 5 )

    When all the files have been processed, and appended to the XML document, it’s all ‘saved’ and thereby transmitted back to the requesting client with this one line in the PerformUpdate() routine:

    xmlDOMDocument.save(Response)

    The client application will now receive the response. The amount of time to transmit the updates will obviously vary depending on the size and number of files being transferred, and the connection between the two. Once the entire XML response has been transmitted, the parsing and saving of the files now entirely becomes the responsibility of the client application.

    One word of caution, if you perform very complicated or large updates, you may need to break up the update process into several passes.

    There are tons of really cool things you can do with this technique to extend it. You can hide your files and create a download script that exceeds the IIS 4meg metabase limit (this ought to chafe some hides). You can even use the server script to update Windows Applications (.exe’s) where the application uses Sockets to connect to the web and then to your server script. You can essentially manage an unlimited number of remote installations from a single console: turn features on or off, limit access, grant rights, add features, fix bugs, send messages, and throw parties (this was a suggestion of the original programmer, I’ll take his word for it!). Now that anyone can transfer any type of file and run any script, you’re pretty much limited only by your imagination!

    For your convenience, I’m including a link to the full script and update folder, so that you don’t have to copy and paste from this article.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · 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...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway