integrate ftp over SSL in XBMC as source - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: integrate ftp over SSL in XBMC as source (/showthread.php?tid=134593) |
integrate ftp over SSL in XBMC as source - the_biker - 2012-06-23 Hi, I have a problem with my ftp server. I get this error for my ftp server if I try it to integrate it in XBMC: 13:08:32 T:5200 ERROR: XFILE::CDirectory::GetDirectory - Error getting ftp://test:test%24@ip:10815/?auth=ssl/ 13:08:32 T:5200 ERROR: CGUIMediaWindow::GetDirectory(ftp://test:test%24@ip:10815/?auth=ssl/) failed config: <music> <default>Main Music Collection</default> <source> <name>Main Music Collection</name> <path>ftp://test:test$@ip:10815?auth=ssl/</path> </source> </music> Over flashfxp and all other programm the ftp server the connection works fine. Do I need an extra addon for ftp over ssl? Or can XBMC not handle secure ftp connections? Please help me Thanks integrate ftp over SSL in XBMC as source - Memphiz - 2012-06-23 afaik this is not supported (and imo uncommon too). Most people use ssh for secure file sources... RE: integrate ftp over SSL in XBMC as source - MassIV - 2012-06-23 Can you not use https? http(s)://username:[email protected]:443//folder/subfolder/file.mp4 Or maybe make it a webdav network drive? RE: integrate ftp over SSL in XBMC as source - the_biker - 2012-06-24 Its a drftpd servercluster. Files reside on many servers. RE: integrate ftp over SSL in XBMC as source - User 225253 - 2016-04-23 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 Code: 14:42:19 T:140365162170432 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0 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 Code: (15:12:23) [BT2(2)] PWD 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. RE: integrate ftp over SSL in XBMC as source - User 225253 - 2016-05-11 I've been asked about my progress in trying to embed a DrFtpD Site-Ring as Video-Source in Kodi via PM. After my failed direct try to embed it in Kodi, I've tried to use CurlFtpFS on a freshly setup Kubuntu 14.04 LTS machine. Again it worked for my G6 HomeFTP, but was much slower than the direct way in Kodi descripted above. Also I had a timeout problem: My FTP autokicks after ~10 minutes of idle (which is hardcoded, I found out by reading through the G6 forums) and then I had to re-mount the remote-dir. Due to most Dr-Sites strictly disallow idling, this might be a problem in general in future attempts to embed DrFtpD in Kodi. But I really had some trouble in alloweing selfmade certificates (for ssl/tls encryption) in curlftpfs and finally needed a mate to hack a published fix for the no longer fully working "AllowInvalidCertificates" switch. When I tried to mount a DrFtpD Site it again failed because of the listing command. (It is some weeks ago, but I think) There was a switch to change list command, but it wasn't able to understand the answere format! I think another problem that might occur in future attempts (after """fixing""" certificates and listing) could be the PRET command. DrFtpD as said is usually a Site-Ring, means one master and a few slaves. You connect to the master, the files are on the slaves, the master manages the file-data-connecton between you and the slaves; usual clients that support it are FlashFXP, FTPRush and SmartFTP. They also support FXP (site to site transfer). |