FTP Error

576 views
Skip to first unread message

frederi...@gmail.com

unread,
Dec 6, 2015, 8:54:02 AM12/6/15
to Automate
While trying to list folder on FTP server I get this error:

2015-12-06 21:43:28.286 INFO 192@3: FTP list
2015-12-06 21:43:29.228 FAIL 192@3: org.apache.commons.net.MalformedServerReplyException: Could not parse response code.
Server Reply: SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u2
2015-12-06 21:43:29.765 INFO 192@3: Stopped by failure

Is it problem in your app or on server side... at least should not crash?

Adriano Marzano de Carvalho

unread,
Dec 6, 2015, 10:48:31 AM12/6/15
to Automate
It seems your trying Ftp on SSH port?

Henrik Lindqvist

unread,
Dec 6, 2015, 6:00:38 PM12/6/15
to Automate, frederi...@gmail.com
SFTP is currently not supported.

The app shouldn't/doesn't crash, but the flow will stop if an failure occur, use the Failure catch block to continue (not stop on error).

frederi...@gmail.com

unread,
Dec 6, 2015, 6:13:17 PM12/6/15
to Automate
I am not sure...

I use port 22 without checking the box TLS/SSL (FTPS), so it's not a secure connection...

Is it really normal, with above settings, to have such error?

I will try again when ftps will be supported...


Henrik Lindqvist

unread,
Dec 6, 2015, 6:22:15 PM12/6/15
to Automate, frederi...@gmail.com
Port 22 is used by SSH, FTP over SSH is called SFTP.

The FTP library used should probably report a better error description.
I'll probably replace is soon anyway, to support SFTP.

frederi...@gmail.com

unread,
Dec 6, 2015, 6:28:31 PM12/6/15
to Automate
OK, thanks for the explanation.

Adriano Marzano de Carvalho

unread,
Dec 6, 2015, 8:00:59 PM12/6/15
to Automate, frederi...@gmail.com
If you're trying FTP indeed, most likely the port is 21 actually (by default).
If it's SFTP, then it's as Henrik said.

Em domingo, 6 de dezembro de 2015 21:28:31 UTC-2, frederi...@gmail.com escreveu:
OK, thanks for the explanation.
Reply all
Reply to author
Forward
0 new messages