FileZilla 425 Can’t open data connection

來源:互聯網
上載者:User

我的應用程式背景與參考文獻的差不多。

就是在虛擬機器裡面串連主機,實現檔案的上傳與下載。

在debian裡輸入命令

$ ftp 192.168.1.248

Connected to 192.168.1.248.

220-FileZilla Server version 0.9.34 beta

220-written by Tim Kosse (Tim.Kosse@gmx.de)

220 Please visit http://sourceforge.net/projects/filezilla/

Name (192.168.1.248:cherish): xxxx

331 Password required for xxxx

Password:

230 Logged on

Remote system type is UNIX.

ftp> dir

200 Port command successful

150 Opening data channel for directory list.

425 Can't open data connection

自己嘗試在Windows裡面串連,發現沒有問題,於是不會是FileZilla的問題。

搜尋 虛擬機器 425 Can't open data connection 找到參考文獻,文章說用

用man ftp查看協助:

-p Use passive mode for data transfers. Allows use of ftp in environments

where a firewall prevents connections from the outside world

back to the client machine. Requires that the ftp server support

the PASV command. This is the default if invoked as pftp.

 

於是用命令 ftp -p 192.168.1.248成功登入

參考文獻

http://blog.csdn.net/imshang/archive/2010/04/23/5522158.aspx

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.