Re: Patch for sitecopy-0.13.4

Joe Orton <[email protected]>
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
Hi Bruce,

On Sun, Jan 09, 2005 at 08:42:20PM -0500, Bruce Walker wrote:
> The problem is that if the remote site is a little out of sync with the 
> local copy and sitecopy tries to copy a file to a non-existent remote 
> folder (and gets a 550 error), if it then tries to continue with the 
> next file, NcFTP messes up the FTP session, gets all out of sync and the 
> sitecopy session times-out entirely.  This behaviour repeats until the 
> user figures out what folder is missing and manually creates it (ie 
> resyncs the remote site).

Can you send in the --debug=ftp output for this failure case so I can
see exactly what happens?

> My fix involves detecting that 550 response and inserting a dummy LIST 
> operation.  That re-syncs NcFTP and everything proceeds normally.

I wonder if sending an ABOR command would help instead, doing a LIST
here could be rather slow (and certainly unexpected). Could you try
that?  What version of NcFTP are you using?

> So ... in case you're interested, here's my patch (against src/ftp.c) 
> for the latest version, sitecopy-0.13.4.

The latest version is 0.14.3, did you really mean 0.13.4?

Regards,

joe
_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.