title: lftp: "FEAT negotiation" message when I try to sync a remote (no SSL) folder with a local folder
body: <p>I want to sync a remote folder with a local folder using lftp.</p>
  <p>When I installed the first time &quot;lftp&quot; and I created this script:</p>
  <pre><code>#!/bin/bash
  
  #get username and password
  USER=...        #Your username
  PASS=...        #Your password
  HOST=&quot;...&quot;         #Keep just the address
  
  echo Sync started ...
  
  LCD=&quot;/var/www/myfolder/app&quot;    #Your local directory
  RCD=&quot;/app&quot;                   #FTP server directory
  
  lftp -f &quot;
  open $HOST
  user $USER $PASS
  lcd $LCD
  mirror --continue --reverse --delete --no-symlinks --exclude .gitkeep --exclude .gitignore --exclude .bower.json --verbose $LCD $RCD
  bye
  &quot;
  </code></pre>
  <p>Everything worked like a charm.</p>
  <p>After that, I tried to compile lftp with SSL support (I downloaded the source, compiled in a <em>deb</em> package and installed it) to sync to an SSL FTP server. I did not figure out, but I did not need any more, so I wanted to come back to the start situation.</p>
  <p>Now, even if I remove lftp and I install it again without SSL, when I execute the script I get this message:</p>
  <pre><code>mkdir `/app' [FEAT negotiation...]
  </code></pre>
  <p>The command just goes in timeout (I saw it with the debug). How can I solve it?</p>