Win FTPS (ftp + ssl or tls) is not working
#1
Hi,

For over a month i been trying to setup remote source for music using ftps (ftp +ssl) or sftp (ftp over ssh) on windows. I gave up on sftp because there are many problems and basicly it is not working out of the box (multiple windows clients and central mysql database. Than i tried to setup FTPS and got stuck also.

Forum is filled with threads about ftps and suggestions for fixing it but they are not working for me. Suggested it is that u must use ftp://user:password@host:port/?auth=tls which is not working and that argument in newer xbmc is changed to ftp://user:password@host:port|auth=tls wich again is not working.

Of course basic unsafe FTP is working fine, and ssl tls connections are working fine from other clients from same windows machine like flashfxp and other. Tried all the things, pasv mode no pasv mode, its not working with any settings.

Client: Windows xbmc gotham 14 - build date 24.05.2014
FTP Server : vsftp on ubuntu with ssl/tls


xbmc debug log :
13:47:05 T:1200 DEBUG: CurlFile::Open(0181BB00) ftp://USERNAME:[email protected]:21201/|AUTH=TLS
13:47:05 T:1200 INFO: XCURL:Big GrinllLibCurlGlobal::easy_aquire - Created session to ftp://123.123.123.123
13:47:06 T:1200 ERROR: CCurlFile::FillBuffer - Failed: Remote file not found(78)
13:47:06 T:1200 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
13:47:06 T:1200 ERROR: XFILE::CDirectory::GetDirectory - Error getting ftp://USERNAME:[email protected]:21201/|AUTH=TLS

vsftplog:
Sat May 24 13:40:16 2014 [pid 3] [ftps] FAIL DOWNLOAD: Client "180.231.231.231", "/|auth=TLS", 0.00Kbyte/sec
Sat May 24 13:43:15 2014 [pid 1] [ftps] OK LOGIN: Client "180.231.231.231"
Sat May 24 13:43:15 2014 [pid 3] [ftps] FAIL DOWNLOAD: Client "180.231.231.231", "/|auth=SSL", 0.00Kbyte/sec
Sat May 24 13:44:59 2014 [pid 2] CONNECT: Client "180.231.231.231"
Sat May 24 13:44:59 2014 [pid 1] [ftps] OK LOGIN: Client "180.231.231.231"
Sat May 24 13:47:05 2014 [pid 2] CONNECT: Client "180.231.231.231"
Sat May 24 13:47:06 2014 [pid 1] [ftps] OK LOGIN: Client "180.231.231.231"
Sat May 24 13:47:06 2014 [pid 3] [ftps] FAIL DOWNLOAD: Client "180.231.231.231", "/|AUTH=TLS", 0.00Kbyte/sec

Anyone have any suggestion ? There is no way to add music source properly if it isn't ftp/sftp source, https dont work for music for me cos
of scraping. Pasted logs are from adding source in xbmc gui, but also tried from sources.xml and tried ftps:// like it was suggested by xbmc developer on other thread but that option also dont work.

Cheers
Reply
#2
58 views and no reply Smile
Reply
#3
https://github.com/xbmc/xbmc/commit/05ca...18c8f1dce8

I hope this is the fix Smile
Reply
#4
Well it is fixed, but useless after all....

After connecting successfully with TLS xbmc adds to all album records suffix |auth=TLS into database ( i m using Mysql).

Result is pretty bad, double records of albums (one normal and one with tls line...). On another new music scan weird thing happed with already scanned albums...
Reply

Logout Mark Read Team Forum Stats Members Help
FTPS (ftp + ssl or tls) is not working0