Hi folks,
I configured MediaPortal to access a FTP Server, but it fails to get a directory listing.
The problem can be reproduced in my network by accessing the FTP Server via a CLI. (note: the FTP Server is INSIDE my network and no Firewall that I am aware of is in between)
Example:
As you can see the client already gives a good hint: "Consider using PASV"
So, when i try to access the FTP server in a passive mode it works.
After spending some days troubeshooting the active mode problem of the FTP server in my own network, I am that close to throw some hardware out of the window.
Since I can't find the error in the network I was looking for a workaround (I can still find the error, but I'd be more fun while watching some of the films i outsourced on my FTP server
)
The workaround would be to enable Mediaportal to use passive mode.
Please, please, PLEASE and one extra PLEASE with cream on top tell me that it isn't that big of a problem to make MediaPortal doing the passive thing.
I configured MediaPortal to access a FTP Server, but it fails to get a directory listing.
The problem can be reproduced in my network by accessing the FTP Server via a CLI. (note: the FTP Server is INSIDE my network and no Firewall that I am aware of is in between)
Example:
Code:
ftp -d [server]
Connected to [server].
220 "Welcome"
ftp: setsockopt: Bad file descriptor
Name ([server]:[some user]): [ftpuser]
---> USER [ftpuser]
331 Please specify the password.
Password:
---> PASS XXXX
230 Login successful.
---> SYST
215 UNIX Type: L8
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir
ftp: setsockopt (ignored): Permission denied
---> PORT 192,168,10,102,161,125
200 PORT command successful. Consider using PASV.
---> LIST
425 Failed to establish connection.
As you can see the client already gives a good hint: "Consider using PASV"
So, when i try to access the FTP server in a passive mode it works.
After spending some days troubeshooting the active mode problem of the FTP server in my own network, I am that close to throw some hardware out of the window.
Since I can't find the error in the network I was looking for a workaround (I can still find the error, but I'd be more fun while watching some of the films i outsourced on my FTP server
The workaround would be to enable Mediaportal to use passive mode.
Please, please, PLEASE and one extra PLEASE with cream on top tell me that it isn't that big of a problem to make MediaPortal doing the passive thing.