Python FTP (from ftplib module) fails on login to SFTP server
<p>I am doing the following</p>

<pre><code>&gt;&gt; from ftplib import FTP
&gt;&gt; s = FTP('host','user','password') # Connect
</code></pre>

<p>and it fails giving the following</p>

<pre><code>Traceback (most recent call last):   File "&lt;stdin&gt;", line 1, in  &lt;module&gt;
   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ftplib.py", line 117, in __init__
     self.connect(host)
   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ftplib.py", line 132, in connect
     self.sock = socket.create_connection((self.host, self.port), self.timeout)
   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 571, in create_connection
     raise err socket.error: [Errno 60] Operation timed out
</code></pre>

<ul>
<li>I know that host, user, passwd are correct</li>
<li>How do I debug/fix this error?</li>
</ul>
