Operating System - HP-UX
1822512 Members
2483 Online
109642 Solutions
New Discussion юеВ

Re: ftp not run at active mode

 
yuli_3
Advisor

ftp not run at active mode

guys,

i have a problem.
ftp to my server with active mode on(default) can not run but when use passive mode, ftp run normally. can u help me ???
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: ftp not run at active mode

check the logs:

tail -f /var/adm/syslog/syslog.log

try a ftp

For active and passive ftp to work right, you need ports 20 and 21 not to be blocked by firewall.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
yuli_3
Advisor

Re: ftp not run at active mode

how to check that port 20 and 21 not blocked by firewall???
in /var/adm/syslog/syslog.log there are no message that related to ftp.
sreejith_4
Frequent Advisor

Re: ftp not run at active mode

Check u have /etc/SHELL file and u have your ur shells listed in that

Thanks
Sreejith M
Joseph Loo
Honored Contributor

Re: ftp not run at active mode

hi,

to check that ports r not block:

# telnet 20
and
# telnet 21

what r the outputs?

regards.
what you do not see does not mean you should not believe
yuli_3
Advisor

Re: ftp not run at active mode

yes,
i have /etc/shells.but ftp still doesn't work.
yuli_3
Advisor

Re: ftp not run at active mode

# telnet 10.1.81.24 20
Trying...
telnet: Unable to connect to remote host: Connection refused
# telnet 10.1.81.24 21
Trying...
Connected to 10.1.81.24.
Escape character is '^]'.
220 hqhpux24.Telkomsel.co.id FTP server (Version 1.1.214.4 Mon Feb 15 08:48:46 GMT 1999) ready.
Suraj Singh_1
Trusted Contributor

Re: ftp not run at active mode

Hi Yuli,

Is this post related to your earlier post "ls not working" ? It seems port no. 20 is bothering you a lot.

The passive mode can be enabled uding ftp -p .
What we cannot speak about we must pass over in silence.
yuli_3
Advisor

Re: ftp not run at active mode

yes,

why must in passive mode??