XMBC, FTP, and cannot connect
#1
Hello All,

THis is my first time posting here, and I have a problem that I can't seem to get google to help me with. I have an FTP server (local) serving out my movie collection, complete with NFO files and all.

When I try to update my clients, XBMC insists that I sit there and lean on the yes button in the dialogue :

Unable to connect to server, would you like to continue scanning.

The frequency that this appears leads me to consider that there may be a problem, as it is near impossible to actually get anything done until the update is complete. Being as that I want XBMC to simply do it's job until it is finished, and all the data is local on the server, is there a way to instruct the program to do so? Instead of clicking yes 80-90 times in a 10 minute window, perhaps I can tell it "always yes?"

Thank you for having a look, and Thank you for the absolutely cool program.
Reply
#2
if I were you I would want to figure out why the problem is happening in the first place.

However, we can't help you at all without a debug log

http://forum.xbmc.org/showthread.php?tid=42708 Windows
http://forum.xbmc.org/showthread.php?tid=47124 Mac
http://forum.xbmc.org/showthread.php?tid=34655 Linux
http://forum.xbmc.org/showthread.php?tid=92480 iOS
Reply
#3
INFO :

Server :
Core I7 3.06GHz, 6GB ram, Gigabit network.
OS : Ubuntu 110.04 (Natty) 64bit
PROFTPD with anon access, no file limit, no max connect limit, no byte limit, no ratio limit, local IP's only.

Client :
AMD Athlox X64 2.8GHz 4GBRam
OS : Windows 7 Home
http://pastebin.com/U0Xnh4r8

By my untrained eye, it is a curl error? or am I missing something?

Thanks for looking, and the advice. Sure would like to fix it for good, but a rock to put on that yes button would do too. Smile
Reply
#4
I realized I didn't have debug on. Here is a much more complete file, with plenty errors.

http://pastebin.com/CqdkNkiw
Reply
#5
Curl error 9 is "access denied" e.g.

DEBUG: FileCurl::Open(09B0F0C0) ftp://[email protected]:21/Movies/Alexan...282004%29/
WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 9

If you ftp to your server as anon and attempt to cd to /Movies/Alexander (2004)/ does it work?

FTP is well down on the list of best protocols to use with XBMC. Can you use SMB instead?

JR
Reply
#6
I switched from using SMB for other problems, that were much more inconvenient. Now that I know the exact problem, I can try to find the root cause behind the server rejecting the connection.

If it is not easy to fix, is there a way to simply tell XBMC to press on, and stop asking if it should continue? A "yes to all" button? That would be the easiest fix, as simply telling it to continue will actually allow it to connect and continue.

EDIT :

Forgot to answer your other question : Yes, I can perform all file operations. I frequently use Filezilla to shuttle stuff around.
Reply

Logout Mark Read Team Forum Stats Members Help
XMBC, FTP, and cannot connect0