适时关掉lftp的ssl协议

Recently I had moved my blog to the web hosting space supplied by Megabyet, but when I connected to the FTP server via under Linux OS it hung with message “`ls’ at 0 [Making connection...]” every time. Nevertheless, the connection through cuteftp under Win7 OS went smoothly.  At last it was found that the problem was caused by the protocal used by lftp. Turning off in lftp solved the problem.

One only needs  to add the following sentence to the file “/etc/lftp.conf”:

set ftp:ssl-allow no

最近把博客搬到了megabyet空间上,但是在linux下用lftp连接ftp服务器时总是死在“Making data connection…”这个地方。在win7下用cuteftp是没问题的。最后发现问题的根源在于服务器禁止了ssl连接,虽然这是一种安全性高的链接。lftp默认是遵循ssl协议的,所以有上述问题的出现。

解决办法:编辑文件”/etc/lftp.conf”,加入如下一句话禁掉ssl即可:

set ftp:ssl-allow no

Related posts



5 comments. Leave a comment

  1. Syuaa 说道:

    Nice site bro, i like this, you must be wp-cms holic.

    • Vastar 说道:

      Welcome!
      But the theme I used is not wp-cms.
      It is just a common blog theme, however modified by myself to assign posts belonging to different categories to different single pages.

  2. 飞猪 说道:

    抢得沙发一枚也。。哦也~

  3. 陈志祥 说道:

    刚好遇到这个问题。

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

Comment

You may use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>