It seems like there has been some progress.
I can successfully connect to my home-ftp running Gene6 FTP Server - even when I restrict it to "secure connection only" by using "?auth=tls" as remote path.
But it still doesn't work for drftpd.
Code:
14:42:14 T:140365162170432 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
14:42:14 T:140365162170432 DEBUG: OnKey: return (0xf00d) pressed, action is Select
14:42:14 T:140364266374912 WARNING: ParseAndCorrectUrl: ftp url option is deprecated, please switch to use protocol option (change '?' to '|'), url: [ftp://USERNAME:[email protected]:51337/?auth=tls]
14:42:14 T:140364266374912 DEBUG: CurlFile::Open(0x7fa91a3c67a0) ftp://USERNAME:[email protected]:51337/
14:42:14 T:140364266374912 INFO: easy_aquire - Created session to ftp://homeftp.it
14:42:15 T:140365162170432 DEBUG: ------ Window Init (DialogBusy.xml) ------
14:42:16 T:140365162170432 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
14:42:16 T:140365162170432 DEBUG: Keyboard: scancode: 0x16, sym: 0x0008, unicode: 0x0008, modifier: 0x0
14:42:17 T:140365162170432 DEBUG: OnKey: backspace (0xf008) pressed, action is Back
Code:
14:42:19 T:140365162170432 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
14:42:19 T:140365162170432 DEBUG: OnKey: return (0xf00d) pressed, action is Select
14:42:19 T:140364266374912 WARNING: ParseAndCorrectUrl: ftp url option is deprecated, please switch to use protocol option (change '?' to '|'), url: [ftp://USERNAME:[email protected]:31313/?auth=tls]
14:42:19 T:140364266374912 DEBUG: CurlFile::Open(0x7fa91a3c67a0) ftp://USERNAME:[email protected]:31313/
14:42:19 T:140364266374912 INFO: easy_aquire - Created session to ftp://drftpd.org
14:42:19 T:140365162170432 DEBUG: ------ Window Init (DialogBusy.xml) ------
14:42:19 T:140364266374912 ERROR: CCurlFile::FillBuffer - Failed: FTP: unknown PASV reply(13)
14:42:19 T:140364266374912 ERROR: CCurlFile::Open failed with code 500 for ftp://USERNAME:[email protected]:31313/?auth=tls
14:42:19 T:140365162170432 ERROR: GetDirectory - Error getting ftp://USERNAME:[email protected]:31313/?auth=tls
14:42:19 T:140365162170432 ERROR: CGUIDialogFileBrowser::GetDirectory(ftp://USERNAME:[email protected]:31313/?auth=tls) failed
14:42:20 T:140365162170432 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
14:42:22 T:140365162170432 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
14:42:22 T:140365162170432 DEBUG: OnKey: return (0xf00d) pressed, action is Select
Due tu the
GetDirectory failed in the lower log, I suspect Kodi to use a listing command drftpd/these servers no longer use and accept.
They use "MLSD" or "STAT -al" and simply no longer answere on "LIST -al".
*tested with current versions: kodi 16.0 on kubuntu 14.04
*adresses have been changed
==================================================
EDIT: By taking a closer look I've also noticed "unknown PASV reply(13)"
This is a comparison of how listing log looks like in ftprush for my homeftp and the drftpd site:
Code:
(15:09:34) [_ZBOX] PWD
(15:09:34) [_ZBOX] 257 "/" is current directory.
(15:09:34) [_ZBOX] PASV
(15:09:34) [_ZBOX] 227 Entering Passive Mode (127,0,0,1,200,194)
(15:09:34) [_ZBOX] Opening data connection IP: 127.0.0.1 PORT: 51394
(15:09:34) [_ZBOX] MLSD
(15:09:34) [_ZBOX] 150 Data connection accepted from 127.0.0.1:3479; transfer starting.
(15:09:34) [_ZBOX] Encryption algorithm: TLSv1 AES256-SHA-256
(15:09:34) [_ZBOX] 226 Transfer ok.
(15:09:34) [_ZBOX] List Complete: 289 bytes in 0,02 seconds (18,06KB/s)
Code:
(15:12:23) [BT2(2)] PWD
(15:12:23) [BT2(2)] 257 "/" is current directory
(15:12:23) [BT2(2)] PRET LIST
(15:12:23) [BT2(2)] 200 OK, planning to use master for upcoming LIST transfer
(15:12:23) [BT2(2)] PASV
(15:12:23) [BT2(2)] 227- Using master for upcoming transfer
(15:12:23) [BT2(2)] 227 Entering Passive Mode (hiddenip,224,59).
(15:12:23) [BT2(2)] Opening data connection IP: hiddenip PORT: 57403
(15:12:23) [BT2(2)] MLSD
(15:12:23) [BT2(2)] 150 File status okay; about to open data connection.
(15:12:23) [BT2(2)] Encryption algorithm: TLSv1.2 ECDHE-RSA-AES256-SHA384-256
(15:12:23) [BT2(2)] 226- [Ul: 5.7TB] [Dl: 10.9TB] [Average speed: 0B]
(15:12:23) [BT2(2)] 226- [Credits: 3.1TB] [Ratio: 1:3.0]
(15:12:23) [BT2(2)] 226 Closing data connection
(15:12:23) [BT2(2)] List Complete: 2.305 bytes in 0,02 seconds (144,06KB/s)
(15:12:23) [BT2(2)] SITE XDUPE 3
(15:12:23) [BT2(2)] 200 Activated extended dupe mode 3.
I don't know how to access the raw ftp command log from drftpd-server-side or kodi-client-side, so I cannot go further in debugging without setting up my own drftpd server cluster or starting things like wireshark.