---
set your mind free, and let it fly ...
"sarath" <sarath....@uaeexchange.com> schrieb im Newsbeitrag
news:aoent8$86...@news.emirates.net.ae...
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.
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
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).
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