NppFTP icon indicating copy to clipboard operation
NppFTP copied to clipboard

NppFTP - connection types error

Open aQziany opened this issue 7 years ago • 5 comments

Hello all,

Have a big problem.. can you help?

A. When I try to connect via FTP I receive this error - 530 Non-anonymous sessions must use encryption.

B. When I try to connect via SFTP I receive this error: [SFTP] Host key accepted [SFTP] Successfully authenticated [SFTP] Error initialising channel: Socket error: Unknown error

C. When I try to connect via FTPS (Implicit) I receive this error: Connecting -> Quit
Unable to connect Disconnected

D. When I try to connect via FTPES (Explicit) I receive this error: Connecting -> Quit
220 (vsFTPd 3.0.3) -> AUTH TLS
234 Proceed with negotiation. [FTPS] Certificate valid. -> USER alinb
331 Please specify the password. -> PASS HIDDEN 230 Login successful. -> PBSZ 0
200 PBSZ set to 0. -> PROT P
200 PROT now Private. -> TYPE A
200 Switching to ASCII mode. -> MODE S
200 Mode set to S. -> STRU F
200 Structure set to F. -> PWD
257 "/" is the current directory Connected -> CWD /
250 Directory successfully changed. -> PORT 192,168,1,101,112,125
500 Illegal PORT command. Failure retrieving contents of directory /

..........................................

Debug info:

Notepad++ v7.3.3 (32-bit) Build time : Mar 8 2017 - 03:37:37 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Admin mode : ON Local Conf mode : OFF OS : Windows 7 (64-bit) Plugins : mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll NppFTP.dll PluginManager.dll

...........................................

n1

n3

............................................

With Filezilla it works

f1

aQziany avatar Jun 10 '17 20:06 aQziany

@aQziany See .e.g. https://forum.filezilla-project.org/viewtopic.php?t=25874 regarding the anonymous access issue, using user: anonymous and password: anonymous might solve this, if data security is not of interest.

Which secure protocol can be used SFTP, FTPS or FTPES depends on your server config, so FTPES seems to be the right own in your case.

Could you check which NppFTP profile setting regarding transfer connection mode you use , see e.g. https://serverfault.com/questions/450651/500-illegal-port-command-using-command-line-ftp regarding the active\passive mode.

Which version of NppFTP do you use ? https://github.com/ashkulz/NppFTP/releases/tag/v0.27.0 ?

chcg avatar Jun 11 '17 11:06 chcg

chcg - Could you check which NppFTP profile setting regarding transfer connection mode you use , see e.g. https://serverfault.com/questions/450651/500-illegal-port-command-using-command-line-ftp regarding the active\passive mode.

  • I use FTPES, and on Transfers tab, Connection mode - It doesn't work, anyway, or with passive or with active mode on.

Version of NppFTP - 3231

aQziany avatar Jun 11 '17 22:06 aQziany

@aQziany Do you have any specific reason to use this 2 years old version?

Anyhow I think this issue is related to the yet unresolved issues #120 and #145.

chcg avatar Jun 12 '17 17:06 chcg

@chcg - I've installed the last version of Notepad++, and this is the version that came with it.

aQziany avatar Jun 12 '17 20:06 aQziany

use this guid to open data ports: http://johandorper.com/log/filezilla-server-passive-ports

iiiohsen avatar Jul 28 '18 09:07 iiiohsen