1833832 Members
2442 Online
110063 Solutions
New Discussion

FTP PASSIVE

 
SOLVED
Go to solution
Doug_85
Regular Advisor

FTP PASSIVE

Is there a way to put HP-UX 11.0 "FTP" into passive mode permanently? According to the MAN pages passive mode by default is set to off.

Thanks,
Doug
1 REPLY 1
John Poff
Honored Contributor
Solution

Re: FTP PASSIVE

Hi,

I found one way to do it, but it isn't elegant. Create a .netrc file and define a macro to set the passive mode on. Something like this:

>cat .netrc
machine myhost macdef init
passive


>

The 'init' macro runs at login and sets passive mode on at the start of an ftp session.

JP