On 4/23/07, Steven M. Schweda <[EMAIL PROTECTED]> wrote:
From: n g

> another problem about -N option:

   No, it's the same problem with the "-O" option, which does not work
the way you seem to think that it works.  If you go to

i guess you are right. its all about `-O' option.

"http://www.mail-archive.com/wget@sunsite.dk/";, and search for "-O", you
can find a large number of similar complaints with the same explanations
for why.

i didn't do a search, because i believe this should be at least an improvement.


   For example, wget allows multiple URL's on a command line.  Which one
should it use for the time-stamp with "-O"?

if multiple Urls' given on command line,
then probably give the same number of `-O' to wget?

but if one Url is given , like this post did, i guess it shouldn't be a problem.


> while
>    wget url -O name -N
> works as expected.

   Really?  What was "expected"?  With "-O", the output file is always

"expected" mean that wget should check local file modification time
before actually download the file, and if she find that remote file is
not modified since last download, i.e. the modification time is the
same as Last-Modified header,
then wget will bypass that file, no download will be performed.
like the explaination to `-N' option says.
this behavior will do benifit to bandwidth, timing, etc.

opened (created) before any communication with the server(s), so it's
always very new.  It's not obvious to me why adding a directory to

i dont know if wget open the local file every time,
but i have observed that the modification time of local file keep
unchanged between mulitiple runs of `wget -N', and no download action
took place.
wget just gave something like "xxx file skipped", and continues with
the next file.

"name" would make any difference in wget's behavior in this case.

this is why i said that's a bug.
because wget does well with a bare filename.
i.e. the `-N' option prevent unnecessary downloading.


i dont know if wget@sunsite.dk is the same mail-list as i added [EMAIL 
PROTECTED]

Reply via email to