Solved

Download a ZIP/EXE then display a HTML

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Wallpaper not updating when file is swapped out 6 55
Need to learn promise API 2 51
Folder Permission Powershell 4 57
Linux Scripting 3 121
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

785 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