1833778 Members
2416 Online
110063 Solutions
New Discussion

ftp PASV Not Supported

 
Shane Russell
Regular Advisor

ftp PASV Not Supported

I am trying to configure my HP-UX B.11.00 to allow passive ftp from 10.73.52.8 but I am getting the following error:-

2006.08.04 14:25:51.257] TYPE A

[2006.08.04 14:25:51.357] 200 Type set to A.

[2006.08.04 14:25:51.357] PASV

[2006.08.04 14:25:51.708]

[2006.08.04 14:25:51.708] PASV Not Supported

[2006.08.04 14:25:51.708] XPSV

[2006.08.04 14:25:51.708] It appears that the connection is dead. Attempting reconnect...

root@quinch:/root # netstat -a | grep ftp
tcp 0 0 *.ftp *.* LISTEN
tcp 0 1 quinch.ftp 10.73.52.8.19737 FIN_WAIT_1


root@quinch:/root # grep ftp /etc/services
ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)
#tftp 69/udp # Trivial File Transfer Protocol
sftp 115/tcp # Simple File Transfer Protocol
bftp 152/tcp # Background File Transfer Protocol
ftp-ftam 8868/tcp # FTP->FTAM Gateway
root@quinch:/root # grep ftp /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a
# Before uncommenting the "tftp" entry below, please make sure
# that you have a "tftp" user in /etc/passwd. If you don't
# have one, please consult the tftpd(1M) manual entry for
#tftp dgram udp wait root /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite
root@quinch:/root #


Any ideas?

Thanks
Shane
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: ftp PASV Not Supported

Shalom,

swlist -l product | grep ftpd

I don't think the wu-ftpd server supports this. You might wish to get the latest update.

Internet Express has proftpd which may have the feature you desire.

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
Shane Russell
Regular Advisor

Re: ftp PASV Not Supported

thanks Steven

Here is the output requested

root@quinch:/var/adm # swlist -l product | grep ftpd
PHNE_23949 1.0 ftpd(1M) and ftp(1) patch
PHNE_25355 1.0 tftp(1) and tftpd(1M) patch
PHNE_28828 1.0 bootpd(1M)/DHCP, tftp(1) and tftpd(1M) patch
PHNE_30989 1.0 ftpd(1M) and ftp(1) patch

What do u think?
Shane
Peter Godron
Honored Contributor

Re: ftp PASV Not Supported

Shane,
Can you please expand on your requirement.
As once in HPUX ftp:
help
shows 'passive'

What s/w are you using ?
Shane Russell
Regular Advisor

Re: ftp PASV Not Supported

Once I ftp to the server and run "help" I do NOT see the passive option ... does that mean that my ftp version does NOT support passive ftp.

So what do I need to do?

ftp> help
Commands may be abbreviated. Commands are:

! debug mget put size
$ dir mkdir pwd status
account disconnect mls quit struct
append form mode quote system
ascii get modtime recv sunique
bell glob mput reget tenex
binary hash newer rstatus trace
bye help nmap rhelp type
case idle nlist rename user
cd image ntrans reset umask
cdup lcd open restart verbose
chmod ls prompt rmdir ?
close macdef proxy runique
cr mdelete sendport send
delete mdir passive site
ftp>

regards,
Shane
Shane Russell
Regular Advisor

Re: ftp PASV Not Supported

OOPS ... im blind ... passive is there ... however, it is still not working
rick jones
Honored Contributor

Re: ftp PASV Not Supported

Just for grins, using the ftp client on your HP-UX 11.0 (BTW, you do know that 11.0 is obsolete right?) system connect to the ftp server and try the ftp client command passive.

The ftp/ftpd on 11.0 LR are the old BSD-ish ones, not the wu-ftpd versions. I _think_ there were patches (perhaps the ones you have) to switch to the wu-ftp versions. Regardless, making sure you are on the very latest 11.0 patches (which may not be all that new) would be goodness.
there is no rest for the wicked yet the virtuous have no pillows
Todd Whitcher
Esteemed Contributor

Re: ftp PASV Not Supported