Hello Michael, Thanks for the information. As suggested, I have used the same settings in my lftp card.
1) I tried ftping a file to an IP abc.com which is not exiting I get the below msg open: abc.com: Unknown host cd: Not connected cd: Not connected put: Not connected 2) I tried FTPing a file to an IP which is existing but not accessible and I get the below msg. cd: Fatal error: max-retries exceeded cd: Fatal error: max-retries exceeded put: Fatal error: max-retries exceeded Thanks a ton for your timely help. Regards Moumita -----Original Message----- From: Michael Reidt [mailto:[email protected]] Sent: Thursday, October 28, 2010 12:45 PM To: moumita_dhali; [email protected] Cc: [email protected] Subject: Antw: Lftp Reconnect issue 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= **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***
