From 464198ecc76bf36cb3ee7bc68c2fb7e79b211802 Mon Sep 17 00:00:00 2001 From: geekpi Date: Sun, 20 Dec 2015 15:34:32 +0800 Subject: [PATCH] translated --- ...ablish FTP connection to an SFTP server.md | 51 ------------------- ...ablish FTP connection to an SFTP server.md | 50 ++++++++++++++++++ 2 files changed, 50 insertions(+), 51 deletions(-) delete mode 100644 sources/tech/20151215 Fix--Cannot establish FTP connection to an SFTP server.md create mode 100644 translated/tech/20151215 Fix--Cannot establish FTP connection to an SFTP server.md diff --git a/sources/tech/20151215 Fix--Cannot establish FTP connection to an SFTP server.md b/sources/tech/20151215 Fix--Cannot establish FTP connection to an SFTP server.md deleted file mode 100644 index e7d06a153d..0000000000 --- a/sources/tech/20151215 Fix--Cannot establish FTP connection to an SFTP server.md +++ /dev/null @@ -1,51 +0,0 @@ -translating - -Fix: Cannot establish FTP connection to an SFTP server -================================================================================ -### Problem ### - -The other day I had to connect to my web server. I use [FileZilla][1] for connecting to FTP servers. When I entered the hostname and password and tried to connect to the FTP server, it gave me the following error: - -> Error: Cannot establish FTP connection to an SFTP server. Please select proper protocol. -> -> Error: Critical error: Could not connect to server - -![FileZilla Cannot establish FTP connection to an SFTP server](http://itsfoss.com/wp-content/uploads/2015/12/FileZilla_FTP_SFTP_Problem_1.jpeg) - -### Reason ### - -By reading the error message itself made me realize my mistake. I was trying to establish an [FTP][2] connection with an [SFTP][3] server. Clearly, I was not using the correct protocol (which should have been SFTP and not FTP). - -As you can see in the picture above, FileZilla defaults to FTP protocol. - -### Solution for “Cannot establish FTP connection to an SFTP server” ### - -Solution is simple. Use SFTP protocol instead of FTP. The one problem you might face is to know how to change the protocol to SFTP. This is where I am going to help you. - -In FileZilla menu, go to **File->Site Manager**. - -![FileZilla Site Manager](http://itsfoss.com/wp-content/uploads/2015/12/FileZilla_FTP_SFTP_Problem_2.jpeg) - -In the Site Manager, go in General tab and select SFTP in Protocol. Also fill in the host server, port number, user password etc. - -![Cannot establish FTP connection to an SFTP server](http://itsfoss.com/wp-content/uploads/2015/12/FileZilla_FTP_SFTP_Problem_3.png) - -I hope you can handle things from here onward. - -I hope this quick tutorial helped you to fix “Cannot establish FTP connection to an SFTP server. Please select proper protocol.” problem. In related articles, you can read this post to [know how to set up FTP server in Linux][4]. - --------------------------------------------------------------------------------- - -via: http://itsfoss.com/fix-establish-ftp-connection-sftp-server/ - -作者:[Abhishek][a] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]:http://itsfoss.com/author/abhishek/ -[1]:https://filezilla-project.org/ -[2]:https://en.wikipedia.org/wiki/File_Transfer_Protocol -[3]:https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol -[4]:http://itsfoss.com/set-ftp-server-linux/ diff --git a/translated/tech/20151215 Fix--Cannot establish FTP connection to an SFTP server.md b/translated/tech/20151215 Fix--Cannot establish FTP connection to an SFTP server.md new file mode 100644 index 0000000000..34c5e2e0cf --- /dev/null +++ b/translated/tech/20151215 Fix--Cannot establish FTP connection to an SFTP server.md @@ -0,0 +1,50 @@ +Fix: Cannot establish FTP connection to an SFTP server +修复:无法与SFTP服务器建立FTP连接 +================================================================================ +### 问题 ### + +有一天我要连接到我的web服务器。我使用[FileZilla][1]连接到FTP服务器。当我输入主机名和密码后来连接服务器后,我得到了下面的错误。 + +> Error: Cannot establish FTP connection to an SFTP server. Please select proper protocol. +> +> Error: Critical error: Could not connect to server + +![FileZilla Cannot establish FTP connection to an SFTP server](http://itsfoss.com/wp-content/uploads/2015/12/FileZilla_FTP_SFTP_Problem_1.jpeg) + +### 原因 ### + +看见错误信息后我意识到了我的错误。我尝试与一台SFTP服务器建立一个[FTP][2]连接。很明显我没有使用一个正确的协议(应该是SFTP而不是FTP)。 + +如你在上图所见,FileZilla默认使用的是FTP协议。 + +### 解决“Cannot establish FTP connection to an SFTP server”的方案 ### + +解决方案很简单。使用SFTP协议而不是FTP。一个你或许要面对的问题是把协议修改成SFTP。这就是我要帮助你的。 + +再FileZilla菜单中,进入 **文件->站点管理**. + +![FileZilla Site Manager](http://itsfoss.com/wp-content/uploads/2015/12/FileZilla_FTP_SFTP_Problem_2.jpeg) + +在站点管理中,进入通用选项并选择SFTP协议。同样填上主机、端口号、用户密码等。 + +![Cannot establish FTP connection to an SFTP server](http://itsfoss.com/wp-content/uploads/2015/12/FileZilla_FTP_SFTP_Problem_3.png) + +我希望你从这里可以开始处理。 + +我希望本篇教程可以帮助你修复“Cannot establish FTP connection to an SFTP server. Please select proper protocol.”这个问题。在相关的文章中,你可以读[了解在Linux中如何设置FTP][4]。 + +-------------------------------------------------------------------------------- + +via: http://itsfoss.com/fix-establish-ftp-connection-sftp-server/ + +作者:[Abhishek][a] +译者:[geekpi](https://github.com/geekpi) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]:http://itsfoss.com/author/abhishek/ +[1]:https://filezilla-project.org/ +[2]:https://en.wikipedia.org/wiki/File_Transfer_Protocol +[3]:https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol +[4]:http://itsfoss.com/set-ftp-server-linux/