I try update a file with following command:

***

wget -N --proxy=off --cache=off http://172.17.8.14/etrust/vet.dat -O
 c:\temp\kkk\xx.dat

--11:17:01--  http://172.17.8.14/etrust/vet.dat
           => `c:/temp/kkk/xx.dat'
Connecting to 172.17.8.14:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,747,213 [text/plain]

100%[====================================>] 2,747,213      7.92M/s

11:17:02 (7.92 MB/s) - `c:/temp/kkk/xx.dat' saved [2747213/2747213]

***

Seems OK, but when I issue the same command again, it also downloads 
the file again - and it should not, because the timestamp did not 
change.

The reason is, that local file "vet.dat" is checked for the 
timestamp, instead of the specified output file "xx.dat".

Kind regards,

Karel Rys


    ______  _      ___   Vyssi odborna skola zahradnicka
    \     \/ \_   --- |  Stredni zahradnicka skola
    /          |      |  Melnik
   (           |      |
    \_     ___/       |  e-mail: [EMAIL PROTECTED]
   _/      \\   ______|  web:    http://www.zas-me.cz
   \_      / \_/         tel. 315 623 023, 604 846 436
     \____/              fax  315 623 009

Reply via email to