Openload.co Ftp Server and MLSD

0 votes
asked Mar 7 by lanopk (900 points)

Hi.
I am having trouble connecting to the Openload.co cloud server via FTP.
When the FEAT command is sent, the server sends an MLSD response.
However, Rebex sends a LIST command when the list is requested.
The server supports MLSD, and Rebex does not recognize MLSD support for any reason.
If I look into the 'SupportedExtensions' variable after the FTP connection, only UTF-8 will appear.
PS. I sent FEAT command again for check.

Thank you.

2019-03-07 15:55:34.355 Opening log file.
2019-03-07 15:55:34.358 INFO FileLogWriter(1)[6] Info: Assembly: Rebex.Common 2018 R4 for .NET 4.0-4.7
2019-03-07 15:55:34.360 INFO FileLogWriter(1)[6] Info: Platform: Windows 10.0.17134 64-bit; CLR: 4.0.30319.42000
2019-03-07 15:55:34.361 DEBUG FileLogWriter(1)[6] Info: Culture: en; ks_c_5601-1987
2019-03-07 15:55:34.376 INFO RaiFtp(1)[6] Info: Connecting to ftp.openload.co:21 using Ftp.
2019-03-07 15:55:34.376 INFO RaiFtp(1)[6] Info: Assembly: Rebex.Ftp 2018 R4 for .NET 4.0-4.7
2019-03-07 15:55:34.376 INFO RaiFtp(1)[6] Info: Platform: Windows 10.0.17134 64-bit; CLR: 4.0.30319.42000
2019-03-07 15:55:34.376 DEBUG RaiFtp(1)[6] Info: Culture: en; ks_c_5601-1987
2019-03-07 15:55:34.377 INFO RaiFtp(1)[6] Info: Using proxy none.
2019-03-07 15:55:34.393 DEBUG RaiFtp(1)[6] Proxy: Resolving 'ftp.openload.co'.
2019-03-07 15:55:34.405 DEBUG RaiFtp(1)[6] Proxy: Connecting to 185.163.108.45:21 (no proxy).
2019-03-07 15:55:34.732 DEBUG RaiFtp(1)[6] Info: Connection succeeded.
2019-03-07 15:55:35.063 INFO RaiFtp(1)[6] Response: 220 openload FTP server (report errors at http://openload.co)
2019-03-07 15:55:35.070 INFO RaiFtp(1)[6] Command: USER **
2019-03-07 15:55:35.394 INFO RaiFtp(1)[6] Response: 331 Password required for **.
2019-03-07 15:55:35.395 INFO RaiFtp(1)[6] Command: PASS **
2019-03-07 15:55:35.883 INFO RaiFtp(1)[6] Response: 230 User ** logged in from 61.77.193.117.
2019-03-07 15:55:35.885 INFO RaiFtp(1)[6] Command: FEAT
2019-03-07 15:55:36.209 INFO RaiFtp(1)[6] Response: 211-Extensions supported
2019-03-07 15:55:36.574 INFO RaiFtp(1)[6] Response:  EPRT
2019-03-07 15:55:36.574 INFO RaiFtp(1)[6] Response:  EPSV
2019-03-07 15:55:36.574 INFO RaiFtp(1)[6] Response:  PASV
2019-03-07 15:55:36.574 INFO RaiFtp(1)[6] Response:  SIZE
2019-03-07 15:55:36.574 INFO RaiFtp(1)[6] Response:  MDTM
2019-03-07 15:55:36.574 INFO RaiFtp(1)[6] Response:  UTF8
2019-03-07 15:55:36.574 INFO RaiFtp(1)[6] Response:  MLSD Type*;Size*;Modify*;Perm;UNIX.mode;UNIX.owner;UNIX.group
2019-03-07 15:55:36.574 INFO RaiFtp(1)[6] Response: 211 end
2019-03-07 15:55:36.577 INFO RaiFtp(1)[6] Command: OPTS UTF8 ON
2019-03-07 15:55:36.902 INFO RaiFtp(1)[6] Response: 200 Always in UTF8 mode.
2019-03-07 15:55:36.907 INFO RaiFtp(1)[6] Command: PWD
2019-03-07 15:55:37.232 INFO RaiFtp(1)[6] Response: 257 "/" is current directory.
2019-03-07 15:55:37.233 INFO RaiFtp(1)[6] Command: FEAT
2019-03-07 15:55:37.559 INFO RaiFtp(1)[6] Response: 211-Extensions supported
2019-03-07 15:55:37.928 INFO RaiFtp(1)[6] Response:  EPRT
2019-03-07 15:55:37.928 INFO RaiFtp(1)[6] Response:  EPSV
2019-03-07 15:55:37.928 INFO RaiFtp(1)[6] Response:  PASV
2019-03-07 15:55:37.928 INFO RaiFtp(1)[6] Response:  SIZE
2019-03-07 15:55:37.928 INFO RaiFtp(1)[6] Response:  MDTM
2019-03-07 15:55:37.928 INFO RaiFtp(1)[6] Response:  UTF8
2019-03-07 15:55:37.928 INFO RaiFtp(1)[6] Response:  MLSD Type*;Size*;Modify*;Perm;UNIX.mode;UNIX.owner;UNIX.group
2019-03-07 15:55:37.928 INFO RaiFtp(1)[6] Response: 211 end
2019-03-07 15:55:37.943 DEBUG RaiFtp(1)[6] Info: Starting data transfer.
2019-03-07 15:55:37.944 INFO RaiFtp(1)[6] Command: TYPE A
2019-03-07 15:55:38.269 INFO RaiFtp(1)[6] Response: 200 type set.
2019-03-07 15:55:38.272 INFO RaiFtp(1)[6] Command: PASV
2019-03-07 15:55:38.617 INFO RaiFtp(1)[6] Response: 227 Entering Passive Mode (185,163,108,43,188,210).
2019-03-07 15:55:38.620 DEBUG RaiFtp(1)[6] Info: Establishing data connection to 185.163.108.43:48338.
2019-03-07 15:55:38.621 DEBUG RaiFtp(1)[6] Proxy: Connecting to 185.163.108.43:48338 (no proxy).
2019-03-07 15:55:38.949 DEBUG RaiFtp(1)[6] Info: Established data connection from 192.168.1.12:12495.
2019-03-07 15:55:38.950 INFO RaiFtp(1)[6] Command: LIST
2019-03-07 15:55:40.723 INFO RaiFtp(1)[6] Response: 150 Opening ASCII mode data connection.
2019-03-07 15:55:40.730 DEBUG RaiFtp(1)[6] Info: Item: drwxrwxrwx 1 owner          group                4096 Mar 07 06:55 .subtitles
2019-03-07 15:55:40.746 DEBUG RaiFtp(1)[6] Info: Item: drwxrwxrwx 1 owner          group                4096 Mar 07 06:55 .videothumb
2019-03-07 15:55:40.746 DEBUG RaiFtp(1)[6] Info: Item: drwxrwxrwx 1 owner          group                4096 Mar 07 06:55 새 폴더 테스트 1
2019-03-07 15:55:40.746 DEBUG RaiFtp(1)[6] Info: Data transfer ended. 250 bytes transferred.
2019-03-07 15:55:40.748 DEBUG RaiFtp(1)[6] Info: Closing downloading data connection.
2019-03-07 15:55:40.750 DEBUG RaiFtp(1)[6] Info: Waiting for data transfer ending message.
2019-03-07 15:55:41.087 INFO RaiFtp(1)[6] Response: 226 Transfer complete.
2019-03-07 15:55:41.088 DEBUG RaiFtp(1)[6] Info: Data transfer ended.
2019-03-07 15:55:41.088 DEBUG RaiFtp(1)[6] Info: Transfer ended successfully.
2019-03-07 15:55:41.088 DEBUG RaiFtp(1)[6] Info: Data connection closed.
2019-03-07 15:55:41.089 INFO RaiFtp(1)[6] Command: SYST
2019-03-07 15:55:41.414 INFO RaiFtp(1)[6] Response: 215 UNIX Type: L8
2019-03-07 15:55:41.415 INFO RaiFtp(1)[6] Command: QUIT
2019-03-07 15:55:41.741 INFO RaiFtp(1)[6] Response: 221 Disconnected from openload FTP server (report errors at http://openload.co). Have a nice day. :-)
Applies to: Rebex FTP/SSL

1 Answer

0 votes
answered Mar 7 by Lukas Matyska (54,470 points)

Thank you for your report. It showed, that it is a server bug.

The server reported for FEAT command MLSD extension, which is violation of RFC 3659. Please see section 7.8. FEAT Response for MLSx:

... Note that there is no distinct FEAT output for MLSD. The presence of
the MLST feature indicates that both MLST and MLSD are supported.

Since the FTP server explicitly ask for bug reports in welcome and disconnect messages:

220 openload FTP server (report errors at http://openload.co)
...
221 Disconnected from openload FTP server (report errors at http://openload.co). Have a nice day. :-)

Please report this issue to the server vendor at http://openload.co

commented Mar 7 by lanopk (900 points)
Thank you.
I will report to openload.co.
Another client (FileZiller) is successfully recognize and send MLSD.
commented Mar 7 by Lukas Pokorny (101,070 points)
RFC 3659 clearly states that FTP servers must announce MLST feature instead of MLSD, so if FileZilla works regardless, it means it has a workaround for this server-side bug. We would add a workaround as well if it the server vendor is unable to fix their server. If that turns out to be the  case, please let us know!
commented Mar 8 by lanopk (900 points)
Thank you very much.
...