473,473 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Download manager via JS?

We want to offer a 100 Mb file for download but are concerned over modem
users who cannot finish the download. Is there any way to implement a
download manager in JS? Looking for something simple that can handle
resuming downloads.

Any ideas?

-djm
Jul 23 '05 #1
2 4706
To my knowledge that is quite impossible. JavaScript has no client-side-
file access, and no way to control sockets.

* You might need to use Java (with additional security rights).
* You could (maybe) also write a .js/.vbs file that they can download
and execute as a stand-alone script. That should give you ability to
access the windows scripting host.. maybe that has some sort of
socket/download support.
* Write your own client-side app in your favorite programming language
* Use mozilla XPI

Jul 23 '05 #2
*dan mcgraw* wrote:
We want to offer a 100 Mb file for download but are concerned over
modem users who cannot finish the download. Is there any way to
implement a download manager in JS? Looking for something simple
that can handle resuming downloads.


This can't be done with javascript. If you have JScript experience then
I guess it might be possible in a non-standard browsing environment to
do something with HTTP 206s, but it would certainly be non-trivial.

The user may already have a download manager built into their browser,
others may be using 3rd part adware/spyware download managers. It's
probably best not to make any assumptions as to what the user has. You
could advise your users to install a download manager if they need one,
an "I'm feeling lucky" google search returns an open-source download
manager http://francis.dupont.free.fr/downloadplus/ that probably won't
snoop on your users browsing habits as there's no commerical gain to do
so, I haven't tried it though to see if it's any good.

Best,
--
Andrew Urquhart
- FAQ: www.jibbering.com/faq/
- Archive: www.google.com/groups?q=comp.lang.javascript
- Contact: www.andrewu.co.uk/contact/
- Employ me: Front/middle tier ASP developer with WAI & web standards
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Marius III | last post by:
Hi there, I am building a File download counter in PHP5. It's working fine but the problem is that its not working with any Download Managers for ex: Free Download Manager / DAP etc. The...
3
by: Vincent Lascaux | last post by:
Hello, I'm writing a download manager (like GetRight, DownloadAccelerator ....), and I'd like to "catch" internet explorer downloads (so that I download the files instead of IE). How can i do...
1
by: liorlew | last post by:
Hello, does anyone knows what do I need to do in order a download manager. I need to create a proxy that for files X will perform a special task and for all the rest will open the regular...
3
by: Bouffa | last post by:
Hello everyone, I suppose you all know force-download scripts. The problem is that these scripts don't allow files to be splitted when downloading them via a download manager. I've found a...
2
by: JP | last post by:
Hi List, I am trying to create an application which is a Download Manager. I want this to be attached to the IE so if user clicks a link on the page to download something and which basically...
0
by: slrosh | last post by:
I am creating windows application to access a web site using webbrowser component in .NET. This application should have a download manager to download some specific file such as *.zip or *.rar....
1
by: naza | last post by:
Before I start I would just like to say that I am totally new to programming so the things that I am going ask probally will sound basic and I might sound I bit ambitious in what I want to do. The...
0
by: PreethiParkavi | last post by:
Hi All, I am trying to develop a custom download manager for my website and I have partially succeed.The Problem is, When I download a file, The browser opens default download manager Instead of...
6
by: sajjadlove | last post by:
Hi there i use from following code for download a file from ftp server but it doesn't work...... what's that problem ?!...... //FTP Class public event...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.