Diogo Quintela | 7 Feb 2003 05:34
Picon

FW: LFTP 2.6.3/4 Bug ?

Hello, i am an user of lftp for an year and i just simply love it :) 
I discovered a behaviour in lftp that I would like to report, as i feel
is rather important. Nowadays, use it a lot for server to server
transfers.. But i do encounter a small problem! If I do "mirror
source_ftp destination_ftp" and "mirror another_source destination_ftp",
when the destination is the same.. This is, a fill up from two sources,
the programs doesn't work nicely.. That is.. Source 1 transfers file1,
source 2 tries to transfer file1 (fails can't write to file - as
expected) then it skips to file 2. OK, now supose source2 ends it file
quickly, then it jumps to file 3. source 1 when it ends its file, starts
to transfer file 2 without the knowledge that the file is already
there.. Where it should be trying file 3 (that will fails for the
concurrent write) and continue to file 4.

Sorry for my lousy english, however i do believe i was enough clear (did
i ? :D) I would like to have a comment from you, if you can, if in your
opinion this is really a small problem and if so what do your consider
doing, or is this a behaviour by design, and so if there is a way to get
aroung from it..

Thanks in advance,
Diogo Quintela

PS: I updated from 2.6.3 to 2.6.4 because i thought this was fixed as
said in changes with "now reget does not start transfer if not needed."

Janine C. Buorditez | 26 Feb 2003 10:24
Picon

[lftp] How to make mirror follow symlinks?


Hi!

Can somebody please tell me whether lftp is capable of mirroring symlinks?

I'm inside a directory containing hundreds of other symlinked directories.
Now, I want to mirror all of that directory so I don't have to enter it and
manually mirror each and every symlink there is.

I'm running version lftp 2.6.0.

Can anyone give me a hand?

--johann

To Unsubscribe: send mail to majordomo <at> FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

Alexander V. Lukyanov | 26 Feb 2003 12:21
Picon
Gravatar

Re: [lftp] How to make mirror follow symlinks?

On Wed, Feb 26, 2003 at 10:24:56AM +0100, Janine C.Buorditez wrote:
> Can somebody please tell me whether lftp is capable of mirroring symlinks?
>
> I'm inside a directory containing hundreds of other symlinked directories.
> Now, I want to mirror all of that directory so I don't have to enter it and
> manually mirror each and every symlink there is.

If the ftp server supports LIST -L option, then do in lftp:

   set ftp:list-options "-La"

BTW, beware of infinite recursion.

If the symlinks are to files only, then `mirror -L' will work nicely.

--
   Alexander.                      | http://www.yars.free.net/~lav/

To Unsubscribe: send mail to majordomo <at> FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


Gmane