MathewWi / mplayer-ce

Automatically exported from code.google.com/p/mplayer-ce
0 stars 0 forks source link

FTP only works after establishing SMB connection #730

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As suggested in this link, FTP will only work after the same server has been 
reached using SMB:
http://code.google.com/p/mplayer-ce/issues/detail?
id=106&can=1&q=ftp&colspec=Type%20Status%20ID%20Summary#c4

Otherwise, the OSD just turns off after showing "Connecting to ftpX" for 1 
second as if it were playing the background.

I took a look at the FTP log and found out how it breaks:

(000024) 29/05/2010 16:49:48 - (not logged in) (192.168.1.111)> Connected, 
sending welcome message...
(000024) 29/05/2010 16:49:48 - (not logged in) (192.168.1.111)> 220 FileZilla 
Server version 0.9.33 beta written by 
Tim Kosse (Tim.Kosse@gmx.de) Please visit http://sourceforge.
(000024) 29/05/2010 16:49:48 - (not logged in) (192.168.1.111)> USER mediacenter
(000024) 29/05/2010 16:49:48 - (not logged in) (192.168.1.111)> 331 Password 
required for mediacenter
(000024) 29/05/2010 16:49:48 - (not logged in) (192.168.1.111)> PASS 
**************
(000024) 29/05/2010 16:49:48 - mediacenter (192.168.1.111)> 230 Logged on
(000024) 29/05/2010 16:49:48 - mediacenter (192.168.1.111)> CWD /
(000024) 29/05/2010 16:49:48 - mediacenter (192.168.1.111)> 250 CWD successful. 
"/" is current directory.
(000024) 29/05/2010 16:49:48 - mediacenter (192.168.1.111)> PORT 
192,168,1,111,4,1
(000024) 29/05/2010 16:49:48 - mediacenter (192.168.1.111)> 200 Port command 
successful
(000024) 29/05/2010 16:49:48 - mediacenter (192.168.1.111)> TYPE A
(000024) 29/05/2010 16:49:48 - mediacenter (192.168.1.111)> 200 Type set to A
(000024) 29/05/2010 16:49:48 - mediacenter (192.168.1.111)> LIST -al
(000024) 29/05/2010 16:49:48 - mediacenter (192.168.1.111)> 150 Opening data 
channel for directory list.
(000024) 29/05/2010 16:49:51 - mediacenter (192.168.1.111)> 425 Can't open data 
connection.
(000023) 29/05/2010 16:51:12 - mediacenter (192.168.1.111)> 421 Connection 
timed out.
(000023) 29/05/2010 16:51:12 - mediacenter (192.168.1.111)> disconnected.

The same happens both with and without passive mode activated.

After reaching the server through SMB, getting back to FTP makes it work like a 
charm: Instead of the 425, it gets a 
226 Transfer OK inmediately and goes on smoothly.

Original issue reported on code.google.com by keyst...@gmail.com on 29 May 2010 at 3:01