Solved

download with lynx

Posted on 1997-04-18
6
274 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
  • 3
  • 3
6 Comments
 
LVL 1

Accepted Solution

by:
asmcmrr earned 50 total points
Comment Utility

  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
Comment Utility
Edited text of question
0
 
LVL 1

Expert Comment

by:asmcmrr
Comment Utility

  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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:gameman
Comment Utility
Edited text of question
0
 
LVL 1

Expert Comment

by:asmcmrr
Comment Utility
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
Comment Utility
Edited text of question
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Is it worth it to buy an Echo? In a word, yes! For me it was definitely worth it. I use mine on a daily basis. Prologue & Privacy At first, I was very skeptical about the Amazon Echo. In general, I don't like voice assistants. I don't li…
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

763 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