Hello,

the new FXP-enabled "mirror" command is great. I've moved countless gigs
with this :). However, there's one thing that I don't like so much about
it:

It is a very common task to transfer an entire directory to another FTP,
into a directory to be created there with the same dir.

Example: I'm logged in to ftp1 in "incoming", and want to transfer the
directory "Long_and_complicated_dirname" to ftp2 in "upload".

So I do:

"mirror Long_and_complicated_dirname
ftp://ftp2/upload/Long_and_complicated dirname"

This is really not userfriendly, since I have to type (or cut&paste) the
Long_and_complicated_dirname twice. I have read the docs and don't see a
way to avoid this. Have I overseen something?

It would be nice to have an option to automatically create a dir with
the same name as the source ftp on the target FTP. This way, the above
command would look like this (assuming that the switch for the new
option would be -d, for example):

mirror -d Long_and_complicated_dirname ftp://ftp2/upload

Which would then do the same as the first command.


It would not hard to implement this, and it would really make things
easier.

BTW... this is so far my last point of criticism with lftp; if this is
implemented I'd consider it "perfect" for my tasks :). Everything else I
wanted is now implemented :)

bye,
Tillmann



Reply via email to