[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] wget mirroring not syncing FTP directories timestamps
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] wget mirroring not syncing FTP directories timestamps |
Date: |
Mon, 28 Jan 2013 23:19:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
indeed, that is a bug.
this line in the url_file_name function seems the cause:
if ((opt.noclobber || opt.always_rest || opt.timestamping || opt.dirstruct)
&& !(file_exists_p (fname) && !file_non_directory_p (fname)))
the last condition should not be used when the protocol is FTP, it seems
a workaround for some broken http servers.
Giuseppe
Ravi Sharma <address@hidden> writes:
> I do see Unrecognized permissions for <Path to directory>/<Directory Name>.1.
> for some of the directories in debug output.
>
> does anyone has any idea why would we get some thing like this when we have
> this directory for both local and remote servers???
>
> Thanks
>
> On Sun, Jan 27, 2013 at 1:49 PM, Ángel González <address@hidden> wrote:
>
> On 27/01/13 22:33, Giuseppe Scrivano wrote:
> > sorry now I see what you mean...
> >
> > I am not very familiar with the FTP implementation but I am afraid it
> > will need some changes in the way it works now and avoid any operation
> > in the directory after you set the mtime. Can anyone with more
> > experience in the FTP implementation confirm this?
> >
> > Cheers,
> > Giuseppe
>
> Why not move the action of setting of mtime point until after leaving
> the directory?