Hi,

I'd like to do something like:

mirror -p $directory $bookmark/$directory

rather than

mirror -p $directory ftp://$user:$pass@$site.$domain:$port/$path/$directory

Is there a way to do this? If not, is it worth adding?
It would be even better if I didn't have to specify $directory at the
end of the destination url. When I FXP the directory "foo" to a
ftp://a_site/Incoming, i'd like it to create the directory foo under
incoming and put the files under foo within it. Perhaps the mirror
command should have a flag saying "preserve the directory's name, and
create it under the destination path" (as opposed to sticking the
files within the directory directly into the destination, which lftp
does now).

Reply via email to