• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Download in Netscape (etc) - V. Easy ?

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
Answers2000
Asked:
Answers2000
  • 5
  • 5
1 Solution
 
bernfarrCommented:
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
 
Answers2000Author Commented:
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
 
bernfarrCommented:
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
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
Answers2000Author Commented:
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
 
bernfarrCommented:
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
 
bernfarrCommented:
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
 
Answers2000Author Commented:
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
 
Answers2000Author Commented:
Adjusted points to 70
0
 
bernfarrCommented:
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
 
tecmasterCommented:
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
 
Answers2000Author Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now