Koozali.org: home of the SME Server

Problems with FTP server - HELP!

Audrius

Problems with FTP server - HELP!
« on: September 09, 2003, 04:57:06 PM »
Some of users can connect to ftp server. But some cannot. Passwords and users are correct. The error is:

WINSOCK.DLL: WinSock 2.0
WS_FTP LE 5.08 2000.01.13, Copyright © 1992-2000 Ipswitch, Inc.
- -
connecting to xxx.xx.xxx.xxx:21
Connected to xxx.xx.xxx.xxx port 21
220 xxx.yyy.lt FTP server ready.
USER zzzzz
331 Password required for zzzzz.
PASS (hidden)
230 User zzzzz logged in.
CWD /Ipswitch/Product_Downloads
550 /Ipswitch/Product_Downloads: No such file or directory
PWD
257 "/users/zzzzz" is current directory.
SYST
215 UNIX Type: L8
Host type (S): UNIX (standard)
PASV
227 Entering Passive Mode (192,168,0,254,130,21).
connecting to 192.168.0.254:33301
- -
connecting to 192.168.0.254:33301
! Connection failed 192.168.0.254 - connection refused
! connect: error 0
PORT 192,168,0,114,5,4
500 Illegal PORT command.
! Failed "port":
! Retrieve of folder listing failed (0)

FTP server is behind firewall. Can it be some firewall stuff or wrong ftp client configurations? Or SME bug?

HELP!!!

Audrius

Gary

Re: Problems with FTP server - HELP!
« Reply #1 on: September 09, 2003, 06:13:42 PM »
Looks like a config problem on the ftp client - make sure they are using Passive Mode

Audrius

Re: Problems with FTP server - HELP!
« Reply #2 on: September 09, 2003, 07:08:05 PM »
Gary wrote:
>
> Looks like a config problem on the ftp client - make sure
> they are using Passive Mode

But there is passive mode in use:

227 Entering Passive Mode (192,168,0,254,130,21).
connecting to 192.168.0.254:33301
- -
connecting to 192.168.0.254:33301
! Connection failed 192.168.0.254 - connection refused
! connect: error 0
PORT 192,168,0,114,5,4
500 Illegal PORT command.
! Failed "port":
! Retrieve of folder listing failed (0)

It is strange that I can connect from my external workstation with Windows/Vmware but I cannot connect from same workstation from Linux...

Gary

Re: Problems with FTP server - HELP!
« Reply #3 on: September 09, 2003, 07:52:29 PM »
If you're client is using passive mode then it shouldn't be issuing a PORT command?

Audrius

Re: Problems with FTP server - HELP!
« Reply #4 on: September 11, 2003, 03:06:14 PM »
Gary wrote:
>
> If you're client is using passive mode then it shouldn't be
> issuing a PORT command?

So it is ftp client problem??? Then which client (preferable free) I have to use?

And if I put server on real IP adress (not behind router with internal IP), will it be more simple to connect to it?

Audrius