Operating System - HP-UX
1833758 Members
2721 Online
110063 Solutions
New Discussion

how can I enable FTP to support site-to-site transfer ?

 
yyghp
Super Advisor

how can I enable FTP to support site-to-site transfer ?

I have a FTP client software which can connect 2 ftp and transfer files directly between these 2 ftp site without the client.
I met the error: 500 Illegal PORT Command

Someone said:
one site MUST support PASV connection and another MUST support PORT connection.
it doesn't matter which site support which type of connection, as long as one is PASV and other is PORT.
from your status log you it looks like flashfxp sent PASV command to 1st site and PORT command to 2nd site but got reply of
500 Illegal PORT command
then it reversed the commands and sent PASV to 2nd site and PORT to 1st one, but still got reply of
500 Illegal PORT command

different ftpd have different ways of enabling fxp transfer.
site admin should consult ftpd documentation to see how to enable site to site transfers.

So, how i can enable this in HP-UX ?
Thanks!
2 REPLIES 2
RAC_1
Honored Contributor

Re: how can I enable FTP to support site-to-site transfer ?

Not sure about this. But running ftpd -P option. Is it of some use? Check man page of ftpd.
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: how can I enable FTP to support site-to-site transfer ?

Read on:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/4-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/4-toc.html&searchterms=server%7cadministration%7cftpd&queryid=20040211-074255

Also:

make sure the settings in /var/adm/inetd.sec allow ftp between the two hosts.

run diagnostics:

tail -f /var/adm/syslog/syslog.log while attempting connection and see what the log says.

inetd -l to enhance inetd logging.

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