Koozali.org: home of the SME Server

Some FTP connections fails

Audrius

Some FTP connections fails
« on: September 08, 2003, 05:04:33 PM »
Hi,

sorry if this question already was in the list.

Some of users can connect to ftp server. But some cannot. Passwords and users are correct. The error is:

Connecting to ftp.xxxxxxx.lt
< 220 post.xxxxxxx.lt FTP server ready.
> USER yyyyyyy
< 331 Password required for yyyyyyy.
> PASS ****
< 230 User yyyyyyy logged in.
> SYST
< 215 UNIX Type: L8
> PWD
< 257 "/users/yyyyyyy" is current directory.
> TYPE A
< 200 Type set to A.
> PORT 192,168,0,114,10,135
< 500 Illegal PORT command.
Error 500 Illegal PORT command.
> MKD Laiskas
< 550 Laiskas: Permission denied
Error 500 Illegal PORT command

I do not understand what is wrong.

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

Audrius

Bill

Re: Some FTP connections fails
« Reply #1 on: September 08, 2003, 09:57:23 PM »
Ftp from behind a firewall usually requires the remote end to use passive mode. The port command error is probably specific to the ftp client the person is using. Some of the ftp client programs send multiple forms of commands to find out what features a server supports and the error is normal when a feature is not supported.

I would have the user retry with the client set to passive mode.

Audrius

Re: Some FTP connections fails
« Reply #2 on: September 09, 2003, 04:52:16 PM »
But I tried with different clients. Here is a output from one of the clients:

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)

What is wrong and where??? Please help!