Solved

Download a ZIP/EXE then display a HTML

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

867 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