Dear friends,
I am searching a script (batch file) to
access webpages and after to access it
download it or save it, also from MSDOS.
Thank you very much in advance
Dear friends,
I am searching a script (batch file) to
access webpages and after to access it
download it or save it, also from MSDOS.
Thank you very much in advance
You should use DOS-LYNX (aka: LYNX) which is a Concsole webbrowser for UNIX but has been ported into DOS. This program is most likely suitable for your needs.
/Fredrik
While browsing the net i found the the GNU wget has been ported to WIN32. It does more less the things that you want to do. This tool can be used for fully scripted enviroments.
You'll find the package at:
http://unxutils.sourceforge.net/
/Fredrik
Try wget
http://www.gnu.org/software/wget/wget.html
it's a UNIX tool but ported to win(32?)/dos.
(search on google wget for windows should bring quite a few results)
Starts from the command line and has loooots of options. (recurses into websites http or (passive)ftp access etc etc)
HTH,
M.R.
Dear ELmqvist,
Thank you for you help, but pehaps I had been too clear, I want a batch file to
open a URL (from command line) and (it is not easy) save the web page to my HD.
Sincerely
JLee
While browsing the net i found the the GNU wget has been ported to WIN32. It does more less the things that you want to do. This tool can be used for fully scripted enviroments.
You'll find the package at:
http://unxutils.sourceforge.net/
/Fredrik
Dear Friend Rutsch
Thank you for you help, but pehaps I had been too clear, I want a batch file to
open a URL (from command line) and (it is not easy) save the web page to my HD.
Sincerely
JLee
I recently wanted to achieve the same thing. I found a utility call Curl (see http://curl.haxx.se/download.html)
To use this in a batch file or from the command line is quite simple, for example
curl -o c:\test.htm http://www.microsoft.com/windows/ie/ie5/download/ieupdate.htm
would get the ieupdate webpage and save it locally as test.htm.
Hope this helps
Phil