Solved

download with lynx

Posted on 1997-04-18
6
338 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
IoT Devices - Fast, Cheap or Secure…Pick Two

The IoT market is growing at a rapid pace and manufacturers are under pressure to quickly provide new products. Can you be sure that your devices do what they're supposed to do, while still being secure?

 

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
A clone is a duplicate copy. Sheep have been cloned and maybe someday even people will be cloned, but disk cloning (performed by the hard drive cloning software) is a vital tool used to manage and protect data. Let’s look at what hard drive cloning …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

623 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