i played a little with the options and found out that wget indeed uses the original filename to see if the file is newer than the remote file but saves it then to the output file.

 wget -N -O test.gif http://kos.li/images/kos.li.gif
if there is NO local kos.li.gif then the file is always downloaded, but saved as test.gif.

if there IS a local kos.li.gif then the timestamp is compared with this local copy, but the file thats being downloaded is saved as test.gif.

i think this is a bug?

Martin Kos                                       +41-76-384-93-33
http://kos.li        Say NO to HTML in mail         ICQ# 13556143
                Proudly running Debian GNU/Linux

Reply via email to