Solved

Download in Netscape (etc) - V. Easy ?

Posted on 1998-08-20
11
211 Views
Last Modified: 2009-07-29
I put a DLL on our web server (http) in the download directory for one of our users to download.

I gave the user the URL to download the file, and tested myself in IE-4 and it works.

The user can't download the file (I presume he's using Netscape but he didn't say - he could be using IE and having a problem for all I know).  In my own test with netscape it tries to display the file rather than download it.  

Question is: how can somebody download a file with .DLL on to their hard-disk (Windows) with Netscape or other popular browser - and if I have a download URL how do i make it work with the main Windows browsers.
0
Comment
Question by:Answers2000
  • 5
  • 5
11 Comments
 
LVL 2

Expert Comment

by:bernfarr
ID: 1816572
Can you give a pointer to the page? Your user should be able to directly download the DLL if the page contains an <A>...</A> section with the name of the DLL. I experimented with this using Netscape 4.04 and instead of downloading, when I clicked on the link, it displayed the file. So the user could download the file by right clicking and doing a Save Link As...

Alternately, you could zip the DLL up. I know that zip files readily download with IE and Netscape. Go to www.winzip.com for a zip utility that will run under windows. Zipping will also make it quicker to upload and download the DLL.
0
 
LVL 8

Author Comment

by:Answers2000
ID: 1816573
I have made a ZIP (and also e-mail it for good measure <g>).  The ZIP will download in Netscape, but the user is not an expert.

The meat of the question was how to do it **without** setting up an HTML page.  In IE, just typing the URL to a non-HTML file allows you to download.

The problem is the user has (probably) corrupted one of his M$ Windows files, and I don't want to send the file to anybody but him, as the file really belongs to M$ (I know he has the right Windows licenses, but I don't want to be accused of pirating an M$ DLL which I'm not sure that I'm allowed to distribute to the wider public).

The file is the OLEAUT32.DLL which normally lives in the Windows system directory (another problem is that after he's downloaded it, he needs to replace the file when windows is not running, but I've figured out that part).

I would have given the URLs if it weren't for the above concerns, if had an assurance that I was breaking any laws by giving the URLs, then I'd post em.
0
 
LVL 2

Expert Comment

by:bernfarr
ID: 1816574
He may be able to connect to your web site with FTP and download the file that way. Maybe you could try it on your machine, using command line FTP, and simply mail him a bat file to run FTP?


0
 
LVL 8

Author Comment

by:Answers2000
ID: 1816575
Well I can do that, but I don't thing the guys an expert, and given that I have some few details about his system this is unlikely to work first time.

It still does answer the original question
0
 
LVL 2

Expert Comment

by:bernfarr
ID: 1816576
Answers2000

If this person is as technically challenged as you seem to think, you probably should mail this DLL to him on a floppy. If he's in the US that will only take 2-3 days maximum.

Otherwise determine which version of Windows he's running under. You can then try using FTP on your Windows machine and determine what the commands are. You can put the commands in a .BAT file and e-mail the .BAT file to him and tell him to run it.

I don't see how you can make it any easier than that.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 2

Expert Comment

by:bernfarr
ID: 1816577
In case you've not done scripted FTP before you need a file to contain the script commands and a .BAT file to invoke FTP and script it.

BAT file might be like:
--------------------------------------
ftp -s:ftpcomm.txt mySiteName
copy winnew.dll c:\windows\system32
--------------------------------------

ftpcomm.txt file might be like:
--------------------------------------
username
password
cd /directoryWithDLL/
bin
get winnew.dll
quit
--------------------------------------

0
 
LVL 8

Author Comment

by:Answers2000
ID: 1816578
I'm trying not to get annoyed here...You aren't even attempting to answer my ORIGINAL question.  I don't want an alternative solution, I want the answer to my ORIGINAL question

That aside, I don't know

1) What software he has - other than a version of Windows
2) What browser he has - other than he has one
3) Any contact details except an e-mail address
4) What kind of PC (for all I know, it could be diskless workstation).
(i've asked for **all** the above)
5) I don't know for sure that he is technically challenged, but given my difficulties #1 to #4, I have to assume so.

In any case, I'm upping the points, but they'll only go a correct answer to my original question.

Oh, BTW I would mail him a floppy if I knew the address!
0
 
LVL 8

Author Comment

by:Answers2000
ID: 1816579
Adjusted points to 70
0
 
LVL 2

Expert Comment

by:bernfarr
ID: 1816580
Answer2000

I thought it would have been obvious based on your testing that you cannot directly download a DLL using Netscape by typing in a location for it on the browser Address line.

The answer is that you must provide a download web page. Using this it is possible to download the DLL using a choice from the popup menu for Netscape. The DLL can be downloaded directly using IE.

If the user is running Windows it is almost a guarantee that they are running one or the other of these browsers.
0
 

Accepted Solution

by:
tecmaster earned 70 total points
ID: 1816581
Here's the best way that I have found that I believe will answer your question.

From what you have already been told and found out yourself, Netscape doesn't like the DLL file entered into the URL field.  Therefore, you will have to create a link on a page that points to the DLL.  The name of the page can be any name you want for security reasons, something like: xj3ywqqxvt2312.html should keep someone from accidentally finding your file.  Then tell the person to hold down the shift key and press the left mouse button.  This will automatically bring up the save as dialog box.
0
 
LVL 8

Author Comment

by:Answers2000
ID: 1816582
Well I'll only give a D to you techmaster, at least your answer is factually correct (AFAIK), although I'm surprised that Netscape doesn't have a way to do this without me creating a dummy page.

Nobody mentioned Opera or other browser versions.  

If you had found a way without a dummy page or mentioned something about the other browsers then I'd have given a better grade.

One last point, in the end I simply e-mailed him the file, because none of the above help a jot in the *real* situation.


0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

744 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

14 Experts available now in Live!

Get 1:1 Help Now