title: lftp timeout not working
body: <p>I am using the following command to set timeout of lftp command so that if the server is not available or is not accepting any new connection, the command ends after 10 sec.</p>
  
  <pre><code>lftp -e 'set ftp:passive-mode true; set net:timeout 10; cd /OUT; mput $filename; bye' -u mylftpuser,mypassword myhost.com
  </code></pre>
  
  <p>However, the timeout does not seem to work. When I run the above command on the command prompt, it retries connecting after 30 sec, 45 sect ..60 sec ...and never ends.</p>
  
  <p>Am I doing something wrong here?</p>
  
  <p>Thanks.</p>