Re: Passive FTP

看板FB_current作者時間14年前 (2011/10/01 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
--SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-Sep-27 21:53:43 +0200, Dag-Erling Sm=F8rgrav <des@des.no> wrote: > I have therefore flipped the switch and made >passive FTP the default. Those who still want active FTP (what on earth >for?) can set FTP_PASSIVE_MODE=3DNO in their environment. I thought I needed it for the $work firewall but some more careful checking shows that it's just EPSV that gives it indigestion. > This overrides >both the default setting and fetch(1)'s -p command-line option. I'm less happy with this - my gut feeling in that command-line options should override evnironment variables. I configure my environment to suit my general requirements and I override this on a command-by- command basis via command line options if I need to. Are there other commands where the environment overrides the command line? --=20 Peter Jeremy --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk6Fm6IACgkQ/opHv/APuIcFLACguwEFGR1QAS0VsfQBQAcaxHv+ /K4AoLgE5BBDsknt4r3cUya6s06T/e+p =uHKR -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--
文章代碼(AID): #1EXWFXTn (FB_current)
文章代碼(AID): #1EXWFXTn (FB_current)