On Fri, Nov 15, 2002 at 12:46:11PM +0200, Jari Pesonen wrote: > I have one possible problem with lftp (v2.6.3): > When I use 'mirror' feature, the parent directory is created to the receiving end. I >use it like this: > lftp -e 'mirror --reverse --delete --verbose=3 /dir/dir1/ /dir/dir2/' -u user,host > > and it mirrors content from dir1 to directory /dir/dir2/dir1. Is this a feature or a >bug? I don't understant the logic if it's a feature.. can I disable this?
It is a feature. Base name of source directory is appended to target path if target path ends with a slash. If you don't want that, remove trailing slash. -- Alexander.
