ftp issue of Solaris 8

hi,

I am facing problem with "ls","get","put" FTP commands when iam executing those...

Actually rest of ftp commands are working fine...Iam able to connect to the system....so there is no problem with the firewall ...

After executing "ls" command..it gives just "200 PORT command successful." and hanging out there. when i forcely quit it is giving " 425 Can't build data connection: Connection timed out. "

so, please anybody suggest me what is the problem...and how it could be resolved. These happaning more often..

Regards,

vlsi

[576 byte] By [vlsi] at [2007-11-26 8:43:59]
# 1
> able to connect to the system....so there is no> problem with the firewall ...there IS a problem with firewall! your data connection is blocked, so you can't get any data from server.here are extensive info on issue: http://slacksite.com/other/ftp.html
kirilln at 2007-7-6 22:25:52 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Hi,Thanks. I have read the attachment and it is really helpful. Is there any way to sovle the problem without installing 3rd party package.regardsvlsi
vlsi at 2007-7-6 22:25:52 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
why don't you want to set up your firewall rules to allow ftp data connections?i can't help you more at this point, because i don't know which firewall do you use and where it resides (your machine or somewhere else).
kirilln at 2007-7-6 22:25:52 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4

if it is the firewall not allowing the ftp data connections then you could use the

passive keyword, with passive on the client connects to a new port on the server

with passive off the server has to connect to the clients data port.

eg

230 User rrrrrrr logged in.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> passive

Passive mode on.

ftp> ls

227 Entering Passive Mode (129,156,173,89,30,176)

150 Opening ASCII mode data connection for file list.

foo

bar

bin

tim

timuglow at 2007-7-6 22:25:52 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5

Am I reading this correctly that the firewall product is only allowing port 21 connections and can't be configured to permit port 20 ftp-data connections?

sounds like somethings not configured correctly at the firewall

Not all ftp clients are capable of using passive mode, so I'd consider going after the source of the problem

jeffreys at 2007-7-6 22:25:52 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...