Hello!

We succesfully use the following parameters for mirroring files to FTP-Servers 
via WLAN  (LFTP version 3.5.15):  

    set net:timeout 10
    set net:max-retries 2
    set net:reconnect-interval-base 5
    set net:reconnect-interval-multiplier 1

net:max-retries=0 means infinite retries, see the man page.

Regards
   Michael Reidt



>>> moumita_dhali <[email protected]> 26.10.2010 07:13 >>>
Hi,

I am facing some issues with lftp when running in unix.

I am using the following version of lftp
lftp [email protected]:~> lftp -v
Lftp | Version 3.0.6 | Copyright (c) 1996-2004 Alexander V. Lukyanov
This is free software with ABSOLUTELY NO WARRANTY. See COPYING for details.
Send bug reports and questions to <[email protected]>.

I am trying to lftp a file from unix to a server which is not accessible. When 
I try to do this, my lftp process is getting hung in between trying to 
reconnect again and again. Is there a way to stop the reconnect process and 
abort the lftp after trying for a couple of times? Can we set some parameter 
which will restrict the number of reconnections? Kindly help me regarding this.

$ lftp
lftp :~> open abc.com
lftp abc.com:~> user abc def
lftp [email protected]:~> cd dir
cd `dir' [Delaying before reconnect: 18]

This reconnect keeps continuing and the delay time also increases. I guess it 
happens like
net:reconnect-interval-base 30 *  net:reconnect-interval-multiplier 1.5 = 45... 
and so on.

So I made the following params  as below
set net:reconnect-interval-base 0
set net:reconnect-interval-max 0
set net:reconnect-interval-multiplier 0

After the above change also the reconnect kept continuing=


Reply via email to