ftp -- passive mode by default?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > ftp -- passive mode by default?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    ftp -- passive mode by default?  
hymie!


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-29-07 06:24 PM

I have a Solaris 8 box.  In addition to the default /usr/bin/ftp , it also
has a /usr/local/bin/ftp , that I can't identify the origin of.  (will
pkginfo take a file as an argument as identify what package it came from?)

We have a new firewall, and FTP must now be passive mode.  /usr/bin/ftp
does not support passive mode, so I'm planning to replace it with
/usr/local/bin/ftp which does.  However, I'm hoping there is a way to
force ftp to use passive mode by default, instead of telling everybody that
they have to issue the "passive" command every time they ftp.

Any thoughts?

Thanks.

hymie!       http://www.smart.net/~hymowitz       hymie_@_lactose.homelinux.
net
 ========================================
====================================
===





[ Post a follow-up to this message ]



    Re: ftp -- passive mode by default?  
Stephane CHAZELAS


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-30-07 12:17 PM

2007-03-29, 07:48(-05), hymie!:
> I have a Solaris 8 box.  In addition to the default /usr/bin/ftp , it also
> has a /usr/local/bin/ftp , that I can't identify the origin of.  (will
> pkginfo take a file as an argument as identify what package it came from?)
>
> We have a new firewall, and FTP must now be passive mode.  /usr/bin/ftp
> does not support passive mode, so I'm planning to replace it with
> /usr/local/bin/ftp which does.  However, I'm hoping there is a way to
> force ftp to use passive mode by default, instead of telling everybody tha
t
> they have to issue the "passive" command every time they ftp.
[...]

Why not replacing it with lftp instead?

Then put

set ftp:passive-mode on

in

/etc/lftp.conf

(or /usr/local/etc/lftp.conf... depending on how you install it)

--
Stéphane





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:27 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register