lftp hangs on "connecting"
<p>I use lftp to transfer files from my Cloud 9 IDE to a remote host.  Recently, it seems to have stopped working.  I've raised this with the host, and they think it's working OK.  Indeed, I can connect to the ftp host via FileZilla, and via a simple browser.  I've raised it with Cloud 9, but no luck either.</p>

<p>I'm transferring a file using the following from the command line:</p>

<pre><code>lftp -e "debug; set ssl:verify-certificate no; put ./res/test.txt -o test.txt; bye" -u abcd,xyz ftp.example.com
</code></pre>

<p>(the <code>set ssl:verify-certificate no</code> was an addition from a while ago, to overcome a similar connection problem that suddenly appeared... I've tried without it too... same result)</p>

<p>What I'm finding in C9 is that is forever trying connect, with:</p>

<pre><code>---- Connecting to ftp.example.com (xx.xxx.xx.xxx) port 21
**** Socket error (Connection timed out) - reconnecting
---- Closing control socket
---- Connecting to ftp.example.com (xx.xxx.xx.xxx) port 21
**** Socket error (Connection timed out) - reconnecting
---- Closing control socket
---- Connecting to ftp.example.com (xx.xxx.xx.xxx) port 21
</code></pre>

<p>Difficult to offer any assistance, probably, but does anyone have any ideas at least to help me diagnose?  Any additional options to try?</p>

<p>Thanks.</p>