Solved

Download a ZIP/EXE then display a HTML

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
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 …

728 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