问题
I am using Notepad++ (6.5.3 version) to edit my files. I want to connect to my server with Notepad++. I using this method:
Open Notepad++ -> Plugins -> NppFTP -> Show NppFTP window
In the NppFTP window:
Click settings button -> profile setting -> add name to site
-> add host name
-> username
-> pwd
click close.
Now i tried to connect my server in notepad++, but it give a following message
[NppFTP] Everything initialized
-> TYPE I
Connecting
-> Quit
Unable to connect
Disconnected
Does anybody know how to solve this?
回答1:
For me the plugin works only with plain FTP connection. Once I switch to FTPS or FTPES, the problem emerges. After diagnosing I've discovered that FTPS and FTPES modes cause plugin to send invalid commands to the server. I have filled a ticket at NPP FTP website. Please follow it to obtain the solution.
回答2:
I had the same problem.
Under Profile Settings, in Connection Type, I changed it to SFTP from FTP and it worked! Hope it helps.
回答3:
The problem you are facing is because of your ISP blocking port 21 when using FTPES. You can either use some VPN client or proxy server for bypassing this issue. Your connection will definitely work. I have already tested and resolved this issue for me.
来源:https://stackoverflow.com/questions/21694849/connect-to-server-via-ftp-with-notepad