Solved

Download a ZIP/EXE then display a HTML

Posted on 1998-11-05
2
172 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
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 lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now