Solved

Download a ZIP/EXE then display a HTML

Posted on 1998-11-05
2
179 Views
Last Modified: 2013-12-25
How does Winsite.com do the following?

First, visit this page:

http://www.winsite.com/info/pc/win95/pim/spenderpro20.exe/

...then click on the

"Select this link to download the entire package now (size 4426708 bytes)."

...link.

You will notice that the download of the file will begin, PLUS a NEW HTML page gets displayed.  I already know how to start a HTTP file transfer, but how does a Webmaster also get a new HTML to appear automatically at the same time the download of the EXE commences?

The resulting page that appears has a URL of:

http://www.winsite.com/info/pc/win95/pim/spenderpro20.exe/downl.html

...which I have never seen such a URL before, i.e., an .EXE file being the parent of a HTML file?


0
Comment
Question by:Monroe406
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
aioudine earned 50 total points
ID: 1829450
It's realy easy

First they  creaate 2 frame document
--------
<frameset rows="1,*" border=0>
<frame name=wsg_top src="downltop.html" marginheight=0>
<frame name=wsg_bot src="downlmid.html" marginheight=0>
</frameset>
--------
As you may see top frame hs 1 pixel size, so it' invisible for users
Second frame is a text tht you see

But first one contain META tag refresh with delay 0

<meta http-equiv="Refresh" content="0; url="http://download/somewhere.exe">


How this work:

When documnt loaded it's read first top (first) frame
browser see that it should refresh first frame immediatly and load frame with new document (exe files)
and ask you to save document
after this (or concurently) it's load seconf frame (text that U see)


hth


0
 

Author Comment

by:Monroe406
ID: 1829451
Boy that's clever.  Thanks!  But it doesn't explain the bizarre resulting URL:

http://www.winsite.com/info/pc/win95/pim/spenderpro20.exe/downl.html
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question