download with lynx

Posted on 1997-04-18
Last Modified: 2013-12-27
Nope, "d"'s default is text.  If it don't have an extension then
it goes to text.  I want to know how to get it do download
binary every time for "d".
Question by:gameman
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Accepted Solution

asmcmrr earned 50 total points
ID: 1598848

  If you're using LYNX, then I assume you're just following the link to the file you specify?  This might cause a problem.  If you want a "rock solid" way of downloading without Lynx trying to display the result and corrupt it, try this:

Edit a HTML file with a link to the file you want to download:

<A HREF="">Download</A>

  Now open this page with Lynx and when you have the link highlighted DON'T click on it to follow the link.  Instead, push "d" and it will download it and then give you your saving options - it should not try to display the file, and the file should have been received properly.

  This won't be necessary in most cases, because most people name their files with appropriate extentions, and Lynx doesn't get confused.


Author Comment

ID: 1598849
Edited text of question

Expert Comment

ID: 1598850

  Always?  I don't think so.  This is certainly not typical of browser behaviour (binary transfers are not its main intended purpose).  Having a browser default to making transfers that it won't then display sounds rather odd when you think of its intended purpose, and the designers have not included this as an option.  They programmed the appropriate functionality into Lynx, assigning responsability to web page owners to properly name their files. (proper extentions)
  If you want to make binary download SIMPLER, then writing a simple script which could accept an URL name and then create a download HTML page with a link which is "d"ownloadable would be easy, and somewhat more convenient.
  Lynx does not include an option to download binary and then display the results, so if you were able to set it up to do binary transfers as default, it would not display HTML pages - just download them.  This kind of defeats the purpose of a "browser", even though it lets you download errantly named files in binary mode.
  Errantly named files are not too common, so it shouldn't be all that much of an inconvenience when you encounter them.  The best thing to do, I would think, is to try to make the process a little less painful via scripts, etc...

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.


Author Comment

ID: 1598851
Edited text of question

Expert Comment

ID: 1598852
I know you do not want HTML pages to download that way, that's just how it might have to be if binary transfers were the default.  "D"ownloading should always be binary, but it isn't in your setup?  I haven't encountered this before... even if I download a TEXT file it does it binarily with the "d"ownload function.

Author Comment

ID: 1598853
Edited text of question

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 - Devices and Printers slow loading 29 1,711
"Video DataSource is Offline or not responding"  - why? 1 170
Applying Computer Settings 12 161
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…

751 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