hi there,
is it not possible to have a option on lynx to automatic start lynx
and
save the binarie file automaticly to the disk ?
e.g.
lynx http://www.some.where.edu/compiled/your_dos_prog.exe -autosave
Mario (Germany)
hi there,
is it not possible to have a option on lynx to automatic start lynx
and
save the binarie file automaticly to the disk ?
e.g.
lynx http://www.some.where.edu/compiled/your_dos_prog.exe -autosave
Mario (Germany)
> hi there,
> is it not possible to have a option on lynx to automatic start lynx
> and
> save the binarie file automaticly to the disk ?
> e.g.
> lynx http://www.some.where.edu/compiled/your_dos_prog.exe -autosave
lynx -source http://www.some.where.edu/compiled/your_dos_prog.exe >
myfile
Dave.
> e.g.
> lynx http://www.some.where.edu/compiled/your_dos_prog.exe -autosave
Best wishes,
Steffen.
--
Steffen A. Jakob |"Die Ratten versenken das
+43 1 8176230-18 | (Regina Klotz)
http://www.gams.net/~saj/ |
> e.g.
> lynx http://www.some.where.edu/compiled/your_dos_prog.exe -autosave
Best wishes,
Steffen.
--
Steffen A. Jakob |"Die Ratten versenken das
+43 1 8176230-18 | (Regina Klotz)
http://www.gams.net/~saj/ |
#!/usr/local/bin/expect --
log_file -noappend /tmp/log
# could be a long wait
set timeout -1
spawn lynx http://www.some.where.edu/compiled/your_dos_prog.exe
expect "D)ownload or C)ancel"
send "d"
expect "Save to local file"
send "\n"
expect "filename:"
send "\n"
expect "Saved."
send "q"
expect "Really Quit?"
send "y"
Of course, youll have to change the "prompts" in the script to match
what you actually see when you walk through it yourself.
If expect isn't on your system already, you can get it by following the
instructions at the end of this message.
Ed
--
"Being on time is like being on fire."
--------------------
How to Get the Latest Version of Expect or the Readings
--------------------
Expect may be ftp'd as pub/expect/expect.tar.Z from ftp.cme.nist.gov.
contents of the message should be (no subject line) "send
pub/expect/expect.tar.Z". (Development versions of Expect may
occasionally be made available as alpha.tar.Z in the same directory.)
The usual way of using Expect is as a standalone program with Tcl as
the control language. Since you may already have Tcl, it is available
separately. Tcl may be retrieved as pub/expect/tcl.tar.Z in the same
way as described above for Expect. When new releases of Tcl appear, I
will try to check them out for Expect as soon as possible. If you
would like to get the newest Tcl release without waiting, ftp it from
ftp.smli.com (directory pub/tcl).
Expect may also be built using the Tk library, a Tcl interface to the
X Window System. Tk is available in the same way as Tcl.
1. Lynx question - how to auto-download from a recognized MIME filetype?
I'm trying to automatically download a file from a secure web server,
for later processing. I figured Lynx would be the way to do this. I
currently have the URL set and using the correct auth it gets to the
page, but then I get:
application/vnd.ms-excel.csv D)ownload, or C)ancel
once I choose D, I get
Download Options (Lynx Version 2.8.4rel.1)
Downloaded link: https://(weird long link name)
Suggested file name: (bizarro file name that I need to change since
it's coming from a CGI script)
Standard download options:
Save to disk
Local additions:
How do I go about auto-saving the file as a particular filename?
Thanks!
2. 2.4.18-xfs (xfs related?) oops report
4. command to show HD freespace?
6. xmcd chokes on my Sony CDU-55E CD-ROM
7. lynx works, but lynx -source fails ?!?
11. Questions about Lynx Messenger (sorry if off-topic)