Solved

download with lynx

Posted on 1997-04-18
6
328 Views
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".
0
Comment
Question by:gameman
[X]
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
6 Comments
 
LVL 1

Accepted Solution

by:
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:

<HTML>
<BODY>
<A HREF="http://www.wherever.com/file.extension/">Download</A>
</BODY>
</HTML>

  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.

0
 

Author Comment

by:gameman
ID: 1598849
Edited text of question
0
 
LVL 1

Expert Comment

by:asmcmrr
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...

0
Revamp Your Training Process

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

 

Author Comment

by:gameman
ID: 1598851
Edited text of question
0
 
LVL 1

Expert Comment

by:asmcmrr
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.
0
 

Author Comment

by:gameman
ID: 1598853
Edited text of question
0

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
1TB SSD INTERMITTENTLY INVISIBLE 3 90
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. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

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