Hello Alexander.  Thank you for this program.  I have installed lftp 3.2.1
by FreeBSD 5.4 port.

I am writing a tutorial (I have found nothing on the internet) and I am
having trouble using the mirror command when the source and target are
URLs.

This works (where <bm> is a bookmark to a directory on anon server):

$ lftp <bm>

This works (where <rdir> is subdirectory of <bm>):

$ lftp -c 'open -e "mirror <rdir> <ldir>" <bm>'

But this does not work:

$ lftp -c 'open -e "mirror <rdir> ftp://<user>:<pass>@<ftp_server>/" <bm>'

The <rdir> is created on <ftp_server> but nothing can be written under it.
 It is not a permissions problem.

I attach my output to this email.

Once I finish my tutorial I think the lftp man page could use some
examples.  I can help there.

Side question: Is it possible to use a bookmark for the remote server
(instead of ftp://...../)?

-- 
Peter Matulis
Papamike IT Services
http://www.papamike.ca/

Attachment: mirror_trouble
Description: Binary data

Reply via email to