Hi,
I have a filezilla server across the internet. Due to a router issue I had to set it to forward port 2121 to port 21, and also forward passive ports 50000 to 50100, and in filezilla server I have manually set those passive ports.
Filezilla client can connect fine and list the directory:
000036) 22/03/2012 11:53:06 - (not logged in) (78.xxx.xxx.87)> Connected, sending welcome message...
(000036) 22/03/2012 11:53:06 - (not logged in) (78.xxx.xxx.87)> 220-FileZilla Server version 0.9.32 beta
(000036) 22/03/2012 11:53:06 - (not logged in) (78.xxx.xxx.87)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000036) 22/03/2012 11:53:06 - (not logged in) (78.xxx.xxx.87)> 220 Please visitxxxx
(000036) 22/03/2012 11:53:06 - (not logged in) (78.xxx.xxx.87)> USER test_login
(000036) 22/03/2012 11:53:06 - (not logged in) (78.xxx.xxx.87)> 331 Password required for test_login
(000036) 22/03/2012 11:53:06 - (not logged in) (78.xxx.xxx.87)> PASS ********************************
(000036) 22/03/2012 11:53:06 - test_login (78.xxx.xxx.87)> 230 Logged on
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> SYST
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> 215 UNIX emulated by FileZilla
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> FEAT
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> 211-Features:
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> MDTM
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> REST STREAM
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> SIZE
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> MLST type*;size*;modify*;
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> MLSD
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> UTF8
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> CLNT
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> MFMT
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> 211 End
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> PWD
(000036) 22/03/2012 11:53:07 - test_login (78.xxx.xxx.87)> 257 "/" is current directory.
(000036) 22/03/2012 11:53:08 - test_login (78.xxx.xxx.87)> TYPE I
(000036) 22/03/2012 11:53:08 - test_login (78.xxx.xxx.87)> 200 Type set to I
(000036) 22/03/2012 11:53:08 - test_login (78.xxx.xxx.87)> PASV
(000036) 22/03/2012 11:53:08 - test_login (78.xxx.xxx.87)> 227 Entering Passive Mode (192,168,1,66,195,95)
(000036) 22/03/2012 11:53:09 - test_login (78.xxx.xxx.87)> MLSD
(000036) 22/03/2012 11:53:09 - test_login (78.xxx.xxx.87)> 150 Connection accepted
(000036) 22/03/2012 11:53:09 - test_login (78.xxx.xxx.87)> 226 Transfer OK
When I connect from WinSCP (both my old version and the new Beta 506) it connects fine but it won't list the folder - I get:
(000037) 22/03/2012 11:53:41 - (not logged in) (78.xxx.xxx.87)> Connected, sending welcome message...
(000037) 22/03/2012 11:53:41 - (not logged in) (78.xxx.xxx.87)> 220-FileZilla Server version 0.9.32 beta
(000037) 22/03/2012 11:53:41 - (not logged in) (78.xxx.xxx.87)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000037) 22/03/2012 11:53:41 - (not logged in) (78.xxx.xxx.87)> 220 Please visit xxx
(000037) 22/03/2012 11:53:41 - (not logged in) (78.xxx.xxx.87)> USER test_login
(000037) 22/03/2012 11:53:41 - (not logged in) (78.xxx.xxx.87)> 331 Password required for test_login
(000037) 22/03/2012 11:53:42 - (not logged in) (78.xxx.xxx.87)> PASS ********************************
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> 230 Logged on
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> SYST
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> 215 UNIX emulated by FileZilla
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> FEAT
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> 211-Features:
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> MDTM
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> REST STREAM
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> SIZE
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> MLST type*;size*;modify*;
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> MLSD
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> UTF8
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> CLNT
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> MFMT
(000037) 22/03/2012 11:53:42 - test_login (78.xxx.xxx.87)> 211 End
(000037) 22/03/2012 11:53:43 - test_login (78.xxx.xxx.87)> PWD
(000037) 22/03/2012 11:53:43 - test_login (78.xxx.xxx.87)> 257 "/" is current directory.
(000037) 22/03/2012 11:53:43 - test_login (78.xxx.xxx.87)> CWD /
(000037) 22/03/2012 11:53:43 - test_login (78.xxx.xxx.87)> 250 CWD successful. "/" is current directory.
(000037) 22/03/2012 11:53:44 - test_login (78.xxx.xxx.87)> PWD
(000037) 22/03/2012 11:53:44 - test_login (78.xxx.xxx.87)> 257 "/" is current directory.
(000037) 22/03/2012 11:53:44 - test_login (78.xxx.xxx.87)> TYPE A
(000037) 22/03/2012 11:53:44 - test_login (78.xxx.xxx.87)> 200 Type set to A
(000037) 22/03/2012 11:53:45 - test_login (78.xxx.xxx.87)> PORT 192,168,0,216,247,156
(000037) 22/03/2012 11:53:45 - test_login (78.xxx.xxx.87)> 200 Port command successful
(000037) 22/03/2012 11:53:45 - test_login (78.xxx.xxx.87)> LIST
(000037) 22/03/2012 11:53:45 - test_login (78.xxx.xxx.87)> 150 Opening data channel for directory list.
(000037) 22/03/2012 11:53:56 - test_login (78.xxx.xxx.87)> 425 Can't open data connection.
(000037) 22/03/2012 11:54:08 - test_login (78.xxx.xxx.87)> disconnected.
If I force winSCP to passive I get
WINSCP
Could not retrieve directory listing
Can't open data connection:
(000038) 22/03/2012 11:54:59 - (not logged in) (78.xxx.xxx.87)> Connected, sending welcome message...
(000038) 22/03/2012 11:54:59 - (not logged in) (78.xxx.xxx.87)> 220-FileZilla Server version 0.9.32 beta
(000038) 22/03/2012 11:54:59 - (not logged in) (78.xxx.xxx.87)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000038) 22/03/2012 11:54:59 - (not logged in) (78.xxx.xxx.87)> 220 Please visit xxx
(000038) 22/03/2012 11:54:59 - (not logged in) (78.xxx.xxx.87)> USER test_login
(000038) 22/03/2012 11:54:59 - (not logged in) (78.xxx.xxx.87)> 331 Password required for test_login
(000038) 22/03/2012 11:54:59 - (not logged in) (78.xxx.xxx.87)> PASS ********************************
(000038) 22/03/2012 11:54:59 - test_login (78.xxx.xxx.87)> 230 Logged on
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> SYST
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> 215 UNIX emulated by FileZilla
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> FEAT
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> 211-Features:
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> MDTM
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> REST STREAM
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> SIZE
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> MLST type*;size*;modify*;
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> MLSD
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> UTF8
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> CLNT
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> MFMT
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> 211 End
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> PWD
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> 257 "/" is current directory.
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> CWD /
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> 250 CWD successful. "/" is current directory.
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> PWD
(000038) 22/03/2012 11:55:00 - test_login (78.xxx.xxx.87)> 257 "/" is current directory.
(000038) 22/03/2012 11:55:01 - test_login (78.xxx.xxx.87)> TYPE A
(000038) 22/03/2012 11:55:01 - test_login (78.xxx.xxx.87)> 200 Type set to A
(000038) 22/03/2012 11:55:01 - test_login (78.xxx.xxx.87)> PASV
(000038) 22/03/2012 11:55:01 - test_login (78.xxx.xxx.87)> 227 Entering Passive Mode (192,168,1,66,195,96)
(000038) 22/03/2012 11:55:01 - test_login (78.xxx.xxx.87)> LIST
(000038) 22/03/2012 11:55:11 - test_login (78.xxx.xxx.87)> 425 Can't open data connection.
Any ideas why filezilla works but WinSCP doesn't?
Some further info is that CoreFTP client connects fine as well on port 2121
thanks for any help
Rob