Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to disable default passive mode in ftp

825 views
Skip to first unread message

sarath

unread,
Oct 14, 2002, 11:27:04 AM10/14/02
to
Dear group,
I would like to disable default passive mode in ftp. I don't want to use
'passive' or 'pasv'
from inside the ftp prompt. Can anybody let me know how to do it ?
regards
sarath

René Meyer

unread,
Oct 15, 2002, 6:07:18 AM10/15/02
to

which ftp-client ?


---
set your mind free, and let it fly ...

"sarath" <sarath....@uaeexchange.com> schrieb im Newsbeitrag
news:aoent8$86...@news.emirates.net.ae...

NN

unread,
Oct 15, 2002, 6:19:50 AM10/15/02
to
sarath wrote:

According to man ftp there is no option to pass to ftp or any .*rc file so
the short answer is:

You can't.

OTOH I can see no good reason why you'd want to.

René Meyer

unread,
Oct 15, 2002, 7:04:59 AM10/15/02
to

ooooppps ...
which ftpd (ftp-server)

you can't set it up on client-side

if it's your ftp-server you can switch the pasv-mode off
if it's not your server, u can't alter ...

---
set your mind free, and let it fly ...

"René Meyer" <c9m...@netscape.net> schrieb

spam...@nil.nil

unread,
Oct 15, 2002, 8:13:44 AM10/15/02
to
NN <n...@spam.for.me> wrote:
> sarath wrote:
>
>> Dear group,
>> I would like to disable default passive mode in ftp. I don't want to use
>> 'passive' or 'pasv'
>> from inside the ftp prompt. Can anybody let me know how to do it ?
>> regards
>> sarath
>
> According to man ftp there is no option to pass to ftp or any .*rc file so
> the short answer is:
>
> You can't.

In Netscape (and I suppose Mozilla) you can turn off passive mode by
editing your user prefs.js file.

With ncftp, you can turn passive mode on or off or optional in its prefs
file. ncftp is better than ftp. Get a recent version (an older version I
had with RH 7.2 was not able to resolve certain hostnames - I could use
dig to get the IP address and access them by IP address, however. I got
and compiled/installed -currently- version 3.1.4, I believe).

Tuan Nguyen

unread,
Oct 17, 2002, 2:44:23 PM10/17/02
to
Hi,

Easy, you can do it by putting the following 5 lines (include blank
lines)in ~/.netrc. There IS a blank line at the end of the file.

machine XXX

macdef init
passive


Where XXX is the ftp server.
By using other options like login, password, hash, prompt etc you can
create an automatic login for a specific user (and don't tell it to a
Syst Admin :-) )

GL Tuan

0 new messages