On Tue, Feb 10, 2015 at 08:42:07PM +0000, Michal Wiczynski wrote:
> My question is if it's possible to download just one file, but using
> mirror.

You can mirror a single file by name (see mirror -f option).

> For example I would like to download oldest file from the server
> without earlier knowing its name and disconnect?

You have to find the name of that file first. E.g.:

        cls --sort=date -rF | grep -v '/$' | head -1 > tmp-file
        source -e "echo mirror -f `<tmp-file`"
        !rm -f tmp-file

-- 
   Alexander.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to