• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 743
  • Last Modified:

automate lynx with a script file

how can i automate lynx with a script

is there a way to download a file just by executing one single command

i tried:
lynx -cmd_script=script.lynx

-----script.lynx-----------
G http://the.address.to.the.file.zip
D
-------------------------

...but it doesn't work for me

how can i do this, either with lynx or some other way,
thanks
0
inudaci
Asked:
inudaci
1 Solution
 
heskyttbergCommented:
Hi!

Install wget instead for this kind of thing.

If using RH install wget package.

Else get wget package for you distribution or go here and search for it:
www.freshmeat.net

Then just dolike this:
wget http://the.address.to.the.file/file.zip

Regards
/Hans - Erik Skyttberg
0
 
inudaciAuthor Commented:
thanks, just what i was looking for.

tack så mycket ;)
0

Featured Post

Technology Partners: 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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now