>You can use ntpd or ntpdate to connect to this server.
At first glance (I will do a bigger read later) this will not help me.

The reason it will not help and why I use wget is this:
I am in charge of various aspects of a mid-range computer called an AS/400
(IBM) due to company policy this machine is allowed NO direct connection to
the outside world, no VPN, no www, no HTML server etc. I have been asked by
the auditors to automate a 'check' on the system time so that it is
accurate. I am allowed access to a PC that has www access via *REXEC (note:
PC control and access is monitored by a separate division).  I am allowed to
run commands to the www (once they are approved by PC Admin) as long as they
have NO effect on the PC involved. OK, still with me :) this means that a
program like wget is perfect. It allows me to issue commands via *REXEC to
scrape sites and bring back that info to the 400 in a text file. I then
write a string extractor and compare the time etc. Thus my question.

I apologise for being verbose but perhaps an example of how wget is used by
me in the bureaucratic world of computer management would be of interest to
you all.

-----Original Message-----
From: Nicolas Schodet [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 22 July 2003 5:36 AM
To: [EMAIL PROTECTED]
Subject: Re: WELCOME to [EMAIL PROTECTED]


* Mr. Wilson <[EMAIL PROTECTED]> [030718 14:56]:
> I am running the wget (freeware batch web scraping) program on the NTP
time
> server at http://132.163.4.101:14
> and can not scrape this site. I have tried with the proxy setting both on
> and off but I get the following error code.
> ( wget -Oh.txt -Yoff http://132.163.4.101:14 ) gives
> Connecting to 132.163.4.101:14... connected!
> HTTP request sent, fetching headers... done.
> 22:23:21 ERROR -1: Malformed status line.
> I have 2 questions:
> 1: even if the ntp site above has no html headers etc, why doesn't this
> work?
> 2: how can I make it work.

GNU Wget is a [1]free software package for retrieving files using
[2]HTTP, HTTPS and FTP.


 [1] GNU Wget is free software, not freeware, see the page below to
 learn the difference :

 http://www.gnu.org/philosophy/free-sw.html

 [2] GNU Wget only retrieves files using HTTP, HTTPS and FTP. Your date
 server is likely to use NTP, so wget can not connect to it to retrieve
 the date. You can use ntpd or ntpdate to connect to this server.

Ni.

--
Pouvez-vous faire confiance à votre ordinateur ?
http://www.gnu.org/philosophy/can-you-trust.fr.html


Reply via email to