1827107 Members
3876 Online
109714 Solutions
New Discussion

Re: FTP problems

 
hpuxhelp
Regular Advisor

FTP problems

when i tried to ftp from hostA to host B I got this error messages
ftpd: Not a recognized flag: p
Invalid reply.
ftpd: Unknown flag -? ignored.
Invalid reply.

however, if I tried to ftp from host B to host A it doesn't give me anyproblem

any suggestions??
3 REPLIES 3
David Child_1
Honored Contributor

Re: FTP problems

check the .netrc file for your user on each host and see if there is anything there.
Michael Schulte zur Sur
Honored Contributor

Re: FTP problems

Hi,

have a look at /etc/inetd.conf
Perhaps the -p flag is there.

greetings,

Michael
Sanjay_6
Honored Contributor

Re: FTP problems

Hi,

Are you using a script. If so check your script. Also are the two systems hostA and hostB of the same type. Or are they different, say hp and sun or aix. It is possible that the ftp daemons support a switch -p on hostA but not on hostB.

Hope this helps.

Regds