Hrvoje Niksic wrote: >> Martin Johnson <[EMAIL PROTECTED]> writes: >> >> 2. Perhaps wget should implement: >> --passive-ftp=on >> --passive-ftp=off >> as well as plain "--passive-ftp" (same as "-passive-ftp=on") > > This is not entirely obvious (to put it mildly), but you can always > use `-e passive_ftp=off'.
Thanks! >> 1. Perhaps wget should obey the setting of environment variable >> FTP_PASSIVE_MODE (="NO" or "YES")? > Do other programs obey that variable? Are its semantics defined > somewhere? Yes, FreeBSD's "fetch" command uses that, probably via "libftpio". I think the semantics are that "FTP_PASSIVE_MODE=No" (upper or lower case No) turns Passive Mode Off, while any other values turn Passive Mode On (but I can't check the source code while I'm at work!). FreeBSD's Ports use "fetch" to downloading source files; but I think "wget" is nicer. Switching from "fetch" to "wget" is easy: you just change a makefile include :-) Many thanks! - Martin. ________________________________________________ Message sent using UebiMiau 2.7.2
