On Fri, Sep 03, 2004 at 09:03:11AM +0100, Nick Chettle wrote: > I took your advice and tried debug mode. Below is what I get. > > It's a bit strange in that it is trying to ls the snapshot directory on the > server itself, finding no files, then exiting. According to the man page, > when I use -R the first directory should be the local one (So I put
That's correct. But when target directory ends with a slash, then base name of source directory is appended to target path; mirror -R /snapshot . should do what you want. > ---> NLST > <--- 450 No files found This is actually a bug on server side. The server replies with code 450 which means "temporary error, try again" and that is what lftp does. As a workaround do this: set ftp:list-empty-ok yes -- Alexander.
