> > My unchanged crontask now started, with version 2.6.2, downloading stuff > > which I didn't expect and filled up disk space nicely (not to mention > > wasted, albeit free, bandwith). :-) > > The version I had before, where it worked, was between 2.4.0 and 2.6.0, > > but, unfortunatelly, I am unable to be more precise. > > Taking off end-of-line ($) makes it work again, but I suspect that that > > would also exclude downloading files that have the expression somewhere > > "inside" their (file)names. > Currently lftp appends a slash to directory names before matching. So if > you want to exclude a directory (with contents), then add a slash before > $.
Oh, thanks! > The change was introduced to make it possible to separate files and > directories in exclude/include patterns. Do you know when was this introduced (what version)? Also, as a wishlist, would you mind to elaborate on regular expressions (like this "/") in some documentation, best in the man page or within lftp help system? If it is already there and I just missed it - my apology. - Peter.
