--- "Alexander V. Lukyanov" <[EMAIL PROTECTED]> wrote:
> On Sun, Nov 23, 2003 at 04:17:07PM -0800, Roboco
> Sanchez wrote:
> > I have a problem with fxp. If I use this command:
> > 
> > mirror ftp://server1/a/ ftp://server2/a/
> > 
> > The traffic goes from server1 to server2 directly.
> The
> > indication while each file is being transfered is
> > "Waiting for the transfer to finish", or something
> > like that, with no transfer speed at all.
> 
> For some reason, the transmitting server does not
> close data connection,
> and the receiving server does not send acknowledge
> to lftp.
> 

I thought that was the normal behavior of lftp? Unlike
SmartFTP, lftp doesn't calculate the speed of previous
fxp transfer and use it to estimate the percentage of
current transfer. So we always see indication like
this:

`file1.zip' at 0 (0%) [Waiting for transfer to
complete]

during the transfer and "at 0 0%" won't change until
the transfer finishes and lftp carries on with the
next files. Moreover we don't see summation at the end
of each transfer how fast it was. I'm not sure if lftp
wants that feature?

> > Now if I change the servers from the above
> "ftp+auth
> > tls" to "ftps only" and use this command:
> > 
> > mirror ftps://server1/a/ ftps://server2/a/
> > 
> > The traffic comes to me first before goes to
> server2.
> > I can notice the incoming and outgoing traffic on
> my
> > box. Also the indication while each file is being
> > transfered is "Receiving file->Sending file", or
> > something like that, with a real-time transfer
> speed.
> 
> This can be easily fixed. Patch attached.
> 
> -- 
>    Alexander.

The patch does help. Now it's working properly. I can
fxp from ftp+tls to ftps, ftps to ftp+tls, and ftps to
ftps.

Many thanks,
Rob.


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

Reply via email to