Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.6 KiB

  1. <HTML>
  2. <HEAD>
  3. <TITLE>BITS IE Plugin Sample</TITLE>
  4. </HEAD>
  5. <BODY bgcolor=#f0f0b0>
  6. <H1><CENTER>BITS IE Plugin Sample</CENTER></H1>
  7. <H2>Summary</H2>
  8. <P>
  9. This sample demonstrates basic application use of BITS by providing an
  10. IE plugin to schedule a background download. The sample allows the
  11. user to monitor progress, perform basic operations such as cancel and finish,
  12. and even allows the user to resume the download after a logoff or a shutdown.
  13. </P>
  14. <H2>Key Concepts</H2>
  15. <UL>
  16. <LI>Basic connection with manager and job submission.</LI>
  17. <LI>Example presentation to user of job state.</LI>
  18. <LI>Job control such as suspend/resume/cancel/complete.</LI>
  19. <LI>Interface based callbacks for updating progress/state.</LI>
  20. <LI>Retrieving text messages for a BITS error code.</LI>
  21. </UL>
  22. <H2>Installation</H2>
  23. <UL>
  24. <LI>Change the current directory to the binary output directory in the SDK.</LI>
  25. <LI>Run the "install.js" script.</LI>
  26. <LI>Restart IE for the changes to take effect.</LI>
  27. <LI>To uninstall run the "uninstall.js" script.</LI>
  28. </UL>
  29. <H2>Basic Usage</H2>
  30. <H3>Simple Download</H3>
  31. <UL>
  32. <LI>Open IE and right click on an anchor that points to a static HTTP file.</LI>
  33. <LI>Select the "Background Download As" option.</LI>
  34. <LI>Type in the destination file name at the prompt.</LI>
  35. <LI>Wait for job to finish. The sample will signal you when it is finished.</LI>
  36. </UL>
  37. <H3>Demonstrating Reactivation On Logon</H3>
  38. <UL>
  39. <LI>Submit a download as described in the "Simple Download" section.</LI>
  40. <LI>While the sample is still downloading, logoff or exit windows.</LI>
  41. <LI>Log back on. The sample will restart.</LI>
  42. </UL>
  43. </BODY>
  44. </HTML>