How do I automate download from an http site using lynx.
I have set a cron job for downloading a file from a http site. When I give lynx http://site, it goes to the site and asks for (D)ownload /(C)ancel Only when i press d it downloads the file from the site. However, I want to download the file without manual intervention. lynx -dump htt://site gives me ascii output on the screen.
Any suggestions.
Noel.
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
How do I automate download from an http site using lynx.
Any suggestions.
Use wwwget, very nice.
Pablo. ---------------------------------------------------------------------- Pablo Ares Gastesi. School of Mathematics, TIFR, Mumbai 400 005, INDIA i Phone: 2152971, ext 2666 pablo@math.tifr.res.in http://www.math.tifr.res.in/~pablo/ Key fingerprint = 1A 7C 0A 22 5A 75 A4 78 62 6F 64 09 C1 A0 F7 E6 ----------------------------------------------------------------------
use wget u automate download ----- Original Message ----- From: Pablo Ares Gastesi pablo@math.tifr.res.in To: linuxers@mm.ilug-bom.org.in Sent: Thursday, March 21, 2002 1:32 PM Subject: Re: [ILUG-BOM] Dowload from http site
How do I automate download from an http site using lynx.
Any suggestions.
Use wwwget, very nice.
Pablo.
Pablo Ares Gastesi. School of Mathematics, TIFR, Mumbai 400 005, INDIA i Phone: 2152971, ext 2666 pablo@math.tifr.res.in http://www.math.tifr.res.in/~pablo/ Key fingerprint = 1A 7C 0A 22 5A 75 A4 78 62 6F 64 09 C1 A0 F7 E6
On Thu, 21 Mar 2002, noel seq wrote:
How do I automate download from an http site using lynx.
I have set a cron job for downloading a file from a http site. When I give lynx http://site, it goes to the site and asks for (D)ownload /(C)ancel Only when i press d it downloads the file from the site. However, I want to download the file without manual intervention. lynx -dump htt://site gives me ascii output on the screen.
Any suggestions.
Noel.
Why not try wget -cv http://path.to/file it will not ask you for a confirmation and besides will even re-connect if the conection drops after downloading the file partially.
man wget is your friend.
regards,
Sharukh.
Sometime Today, noel seq assembled some asciibets to say:
How do I automate download from an http site using lynx.
I have set a cron job for downloading a file from a http site. When I give lynx http://site, it goes to the site and asks for (D)ownload /(C)ancel Only when i press d it downloads the file from the site. However, I want to download the file without manual intervention. lynx -dump htt://site gives me ascii output on the screen.
did you read the lynx help? if you had, you would have seen an option called -source
lynx -source is what you want.
obviously you will get the output on the screen. any process that writes to your disk without your knowledge shouldn't be trusted.
of course, you only need the output on screen. from there you can redirect it to anywhere you want. you know how to do that.