Computing.Net > Forums > Web Development > Automatic Download on Page Load

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Automatic Download on Page Load

Reply to Message Icon

Name: rasco
Date: June 19, 2006 at 11:56:56 Pacific
OS: Windows XP Pro
CPU/Ram: Athlon64 3000+ 2.0GHz 800
Product: Custom
Comment:

I need a script(HTML/Javascript) that will start a file download automatically when the page is loaded. Thx in Advance.

R. Rasco
System Administrator
Texas Scenic Co.



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: June 19, 2006 at 13:31:17 Pacific
Reply:

Put this in the head of your document:

<META HTTP-EQUIV="Refresh" CONTENT="3;URL=URL_to_document">

The '3' represents the number of seconds to pass after the page has loaded before the download will start.

Michael J


0

Response Number 2
Name: rasco
Date: June 20, 2006 at 12:09:43 Pacific
Reply:

thanks Michael

R. Rasco
System Administrator
Texas Scenic Co.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Automatic Download on Page Load

Flash detection on page load? www.computing.net/answers/webdevel/flash-detection-on-page-load/2851.html

Dreamweaver pages loading slow.... www.computing.net/answers/webdevel/dreamweaver-pages-loading-slow/766.html

Java buttons change on second load www.computing.net/answers/webdevel/java-buttons-change-on-second-load/2278.html