PDA

View Full Version : problem with plink -> ftp


pkellner
04-22-2008, 08:45 PM
I'm using the examples mentioned for network.bld. I set the plink tunnel to my remote system which as a simple filezilla server. I can see the traffic hit the server, but I always get errors. with the VBP ftp s/w I get the error:

Error connecting to FTP server: The connection has been refused by the remote host

and the filezilla log shows:

all my firewalls are off for this testing. I feel like the data is not moving correctly, but the commands are. Am I missing something about how the ftp data moves back through the tunnel?

thanks...

Logged on
(000032) 4/22/2008 6:23:05 AM - (not logged in) (192.168.49.145)> Connected, sending welcome message...
(000032) 4/22/2008 6:23:05 AM - (not logged in) (192.168.49.145)> 220-FileZilla Server version 0.9.24 beta
(000032) 4/22/2008 6:23:05 AM - (not logged in) (192.168.49.145)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000032) 4/22/2008 6:23:05 AM - (not logged in) (192.168.49.145)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000032) 4/22/2008 6:23:05 AM - (not logged in) (192.168.49.145)> USER pkellner
(000032) 4/22/2008 6:23:05 AM - (not logged in) (192.168.49.145)> 331 Password required for pkellner
(000032) 4/22/2008 6:23:05 AM - (not logged in) (192.168.49.145)> PASS pass@word
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> 230 Logged on
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> SYST
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> 215 UNIX emulated by FileZilla
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> PWD
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> 257 "/" is current directory.
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> TYPE I
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> 200 Type set to I
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> PWD
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> 257 "/" is current directory.
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> PASV
(000032) 4/22/2008 6:23:05 AM - pkellner (192.168.49.145)> 227 Entering Passive Mode (192,168,49,145,6,32)
(000032) 4/22/2008 6:23:06 AM - pkellner (192.168.49.145)> QUIT
(000032) 4/22/2008 6:23:06 AM - pkellner (192.168.49.145)> 221 Goodbye
(000032) 4/22/2008 6:23:06 AM - pkellner (192.168.49.145)> disconnected.

kinook
04-23-2008, 07:30 AM
Based on the logs you sent us via email, it appears that the server is rejecting the switch to passive mode. Maybe the server doesn't allow/support the command channel through the tunnel and a direct data channel connection.