FTP Connection dont work - MalformedServerReplyException: Truncated server reply: '220 '

I am new to KNIME and trying out to connect to some ftp servers with the FTP Connector Node,
but it doesnt work. I am getting these errors

WARN FTP Connector 3:20 Failed to create 1-th FTP session (0 sessions already opened). Please consider decreasing the maximum FTP sessions.
ERROR FTP Connector 3:20 Failed to initialize FTP client pool
WARN FTP Connector 3:20 MalformedServerReplyException: Truncated server reply: '220 ’
ERROR FTP Connector 3:20 Execute failed: Truncated server reply: '220 ’

I have no problems connecting to the ftp server with FileZilla or other FTP programms.

The Server uses FTP (without TLS) on port 21 and requires username and password.

Can somebody help me?
I am using the newest version of KNIME and extensions.

Does no one have any ideas?
Connection to public ftps or other ftp servers on newer devices are working.
Only the connections to ftp servers on some older controllers (same model) are not working with knime.
But with every other ftp programm connection is working fine.

DEBUG Log:

DEBUG NodeContainerEditPart            FTP Connector 3:20 (CONFIGURED)
DEBUG ExecuteAction                   Creating execution job for 1 node(s)...
DEBUG NodeContainer                   Setting dirty flag on FTP Connector 3:20
DEBUG NodeContainer                   Setting dirty flag on Workspace 3
DEBUG NodeContainer                   FTP Connector 3:20 has new state: CONFIGURED_MARKEDFOREXEC
DEBUG NodeContainer                   FTP Connector 3:20 has new state: CONFIGURED_QUEUED
DEBUG WorkflowEditor                  Workflow event triggered: WorkflowEvent [type=WORKFLOW_DIRTY;node=3;old=null;new=null;timestamp=02.12.2022, 10:45:36]
DEBUG NodeContainer                   Workspace 3 has new state: EXECUTING
DEBUG FTP Connector        3:20       FTP Connector 3:20 doBeforePreExecution
DEBUG FTP Connector        3:20       FTP Connector 3:20 has new state: PREEXECUTE
DEBUG FTP Connector        3:20       Adding handler ffb01b52-4d70-4366-a048-eab5d5a3ab4f (FTP Connector 3:20: <no directory>) - 1 in total
DEBUG FTP Connector        3:20       FTP Connector 3:20 doBeforeExecution
DEBUG FTP Connector        3:20       FTP Connector 3:20 has new state: EXECUTING
DEBUG FTP Connector        3:20       FTP Connector 3:20 Start execute
WARN  FTP Connector        3:20       Failed to create 1-th FTP session (0 sessions already opened). Please consider decreasing the maximum FTP sessions.
ERROR FTP Connector        3:20       Failed to initialize FTP client pool
WARN  FTP Connector        3:20       MalformedServerReplyException: Truncated server reply: '220 '
DEBUG FTP Connector        3:20       reset
ERROR FTP Connector        3:20       Execute failed: Truncated server reply: '220 '
DEBUG FTP Connector        3:20       FTP Connector 3:20 doBeforePostExecution
DEBUG FTP Connector        3:20       FTP Connector 3:20 has new state: POSTEXECUTE
DEBUG FTP Connector        3:20       FTP Connector 3:20 doAfterExecute - failure
DEBUG FTP Connector        3:20       reset
DEBUG FTP Connector        3:20       clean output ports.
DEBUG FTP Connector        3:20       Removing handler ffb01b52-4d70-4366-a048-eab5d5a3ab4f (FTP Connector 3:20: <no directory>) - 0 remaining
DEBUG FTP Connector        3:20       FTP Connector 3:20 has new state: IDLE
DEBUG FTP Connector        3:20       Configure succeeded. (FTP Connector)
DEBUG FTP Connector        3:20       FTP Connector 3:20 has new state: CONFIGURED
DEBUG FTP Connector        3:20       Workspace 3 has new state: CONFIGURED

Hi @0x0 and welcome to the forum. Sorry for the trouble. This seems similar to FTP Connector Issue from several months ago, but AFAICT there was never a resolution to that thread. Let me ask internally.

2 Likes

Can you check this thread which is similar? Perhaps in the end you need to use the SSH Connector instead?

1 Like

Sorry für my late reply.
I already checked this thread.
Unfortunately the SSH Connector does not work in my case.

as already written, the SSH Connector does not work for me either.
Enclosed the log

DEBUG ExecuteAction                   Creating execution job for 1 node(s)...
DEBUG NodeContainer                   SSH Connector 4:22 has new state: CONFIGURED_MARKEDFOREXEC
DEBUG NodeContainer                   SSH Connector 4:22 has new state: CONFIGURED_QUEUED
DEBUG NodeContainer                   Workspace 4 has new state: EXECUTING
DEBUG SSH Connector        4:22       SSH Connector 4:22 doBeforePreExecution
DEBUG SSH Connector        4:22       SSH Connector 4:22 has new state: PREEXECUTE
DEBUG SSH Connector        4:22       Adding handler 608bebba-f0b5-4bdc-8083-da360989b53c (SSH Connector 4:22: <no directory>) - 1 in total
DEBUG SSH Connector        4:22       SSH Connector 4:22 doBeforeExecution
DEBUG SSH Connector        4:22       SSH Connector 4:22 has new state: EXECUTING
DEBUG SSH Connector        4:22       SSH Connector 4:22 Start execute
DEBUG SSH Connector        4:22       reset
ERROR SSH Connector        4:22       Execute failed: DefaultAuthFuture[ssh-connection]: Failed to get operation result within specified timeout: 30000 (SshException)
DEBUG SSH Connector        4:22       SSH Connector 4:22 doBeforePostExecution
DEBUG SSH Connector        4:22       SSH Connector 4:22 has new state: POSTEXECUTE
DEBUG SSH Connector        4:22       SSH Connector 4:22 doAfterExecute - failure
DEBUG SSH Connector        4:22       reset
DEBUG SSH Connector        4:22       clean output ports.
DEBUG SSH Connector        4:22       Removing handler 608bebba-f0b5-4bdc-8083-da360989b53c (SSH Connector 4:22: <no directory>) - 0 remaining
DEBUG SSH Connector        4:22       SSH Connector 4:22 has new state: IDLE
DEBUG SSH Connector        4:22       Configure succeeded. (SSH Connector)
DEBUG SSH Connector        4:22       SSH Connector 4:22 has new state: CONFIGURED
DEBUG SSH Connector        4:22       Workspace 4 has new state: CONFIGURED

Are there any other possible solutions?
Am very grateful for help as I would need the software urgently

To connect to the FTP, I establish a VPN connection on the PC where KNIME is installed.

Can this be a problem?
Strangely, the FTP connection to newer devices on the same VPN network works fine with KNIME.

Also, the server does not support FTP over TLS. Do I need to configure anything in the FTP connector because of this?

Hi @0x0 -

Thanks for all the detail you have provided here. I have asked internally to see if someone with more expertise in this area can take a look.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.