Operating System - HP-UX
1833846 Members
2073 Online
110063 Solutions
New Discussion

Re: FTP settings in HP-Unix 11.11

 
Popy
Regular Advisor

FTP settings in HP-Unix 11.11

Folks,

Is there a setting called active/passive mode of FTP in Hp-Ux ?? If yes, how can I check/change that ??

Cheer's
Raneesh Vijayan
12 REPLIES 12
James R. Ferguson
Acclaimed Contributor

Re: FTP settings in HP-Unix 11.11

Hi:

Yes, "active" mode is the default. "Passive" can be chosen once a connection is made. See the manpages for 'ftp' for more information.

Regards!

...JRF...
S.J. Sarwar
Occasional Advisor

Re: FTP settings in HP-Unix 11.11

Hi,

After you log in to the FTP session, you can enter the command "passive" at the ftp> prompt, which turns the session to "passive", otherwise it is always "active" by default.

Thanks,
Sarwar
HGN
Honored Contributor

Re: FTP settings in HP-Unix 11.11

Hi

By default it is active ftp .To get a passive ftp you need to connect to the remote host and then type passive at the prompt.

If you feel that this issue is resolved you can assign points and close the thread.

Rgds

HGN
baiju_3
Esteemed Contributor

Re: FTP settings in HP-Unix 11.11

HI Vijayan ,

Some more details can be found @

http://slacksite.com/other/ftp.html


Regards ..bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Bill Hassell
Honored Contributor

Re: FTP settings in HP-Unix 11.11

Passive mode will overcome many firewall disconnect issues but it must be supported on both the client and server side. It is a client-side command to the server so the server needs to understand the PASV command. For HP-UX in 11.xx, the ftp used is Wu-FTPD and it understands passive mode. You can configure a range of ports that can be used for passive mode but usually this is unnecessary. If you are starting ftp on a PC, just type PASV and if all is well, you'll not get an error message.


Bill Hassell, sysadmin
Popy
Regular Advisor

Re: FTP settings in HP-Unix 11.11


Thanks for those replies...I tried typing passive (and PASV also) at the ftp> prompt after conecting to the server, it is returning "Invalid Command" ....Please advise ..

Raneesh
James R. Ferguson
Acclaimed Contributor

Re: FTP settings in HP-Unix 11.11

Hi Raneesh:

After you connect, login with a valid user and password. Then type "passive".

Regards!

...JRF...
Bill Hassell
Honored Contributor

Re: FTP settings in HP-Unix 11.11

The server you are connecting to does not support passive mode. Is the server HP-UX?


Bill Hassell, sysadmin
Popy
Regular Advisor

Re: FTP settings in HP-Unix 11.11


JRF,

Yes, I do connect using a valid user name and password..I ensured I am logged in by listing files in my home directory.

230 User testid logged in.
ftp> passive
Invalid command.
ftp>

My OS version is Hp-Unix 11.11

Raneesh
Popy
Regular Advisor

Re: FTP settings in HP-Unix 11.11

Do I need some patching for this command ?

Raneesh
Bill Hassell
Honored Contributor

Re: FTP settings in HP-Unix 11.11

I am not clear about the type of ftp server. When you type the passive command, it is simply sent to the remote computer. What kind of a computer is it and if it is an HP-UX system, what is the OS version?


Bill Hassell, sysadmin
Popy
Regular Advisor

Re: FTP settings in HP-Unix 11.11

Bill,

The remote computer is an HP-Unix (11.11) server.

Raneesh.Vijayan