Indy 9: 500 Illegal PORT range rejected.

Giganews Newsgroups
Subject: Indy 9: 500 Illegal PORT range rejected.
Posted by:  Gerbert Koppelman (koppelm…@acmaa.nl)
Date: Wed, 8 Sep 2004

Hello,

I have a problem when connected to a ftp server sometimes the follwing error
occurs:

500 Illegal PORT range rejected.

Here are the commads given and returned (->> = to ftp server):

->> PORT 10,0,0,18,4,6
<<- 500 Illegal PORT range rejected.

Sometimes it works good as seen below:

->> PORT 10,0,0,10,4,198
<<- 200 PORT command successful.

The server can not communicate in passive mode.
This are the login commands:
<<- 220 someftpserver FTP server (Version 6.00LS) ready.
->> USER xxx
<<- 331 Password required for acmaa.
->> PASS xxx
<<- 230 User xxx logged in, access restrictions apply.
->> TYPE A
<<- 200 Type set to A.
->> SYST
<<- 215 UNIX Type: L8 Version: BSD-199506
->> CWD /data/
<<- 250 CWD command successful.
->> PORT 10,0,0,10,4,198
<<- 200 PORT command successful.

What can be wrong. And what can I do to solve the problem?

--
Thanks,
Gerbert Koppelman

Replies