Date: Sat, 13 May 1995 14:00:26 -0700 From: "Jordan K. Hubbard" <jkh@freefall.cdrom.com> To: current@freefall.cdrom.com Cc: ache@freefall.cdrom.com Subject: Bug in ncftp passive mode handling? Message-ID: <12309.800398826@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
>From the man page in ncftp: -P toggle passive mode (defaults to on). Useful for work behind firewalls. This tells me that it's ON by default, so ncftp without -P should be passive, right? Hmmmmm! Well, sitting here behind the cisco firewall: chein-as-pc1 {911}# ncftp ftp://freebsd.org/pub/FreeBSD/packages/editors NcFTP 1.9.4 (April 15, 1995) by Mike Gleason, NCEMRSoft. Tip: Don't put a site in your .ncftprc unless you want an 'init' macro. The recent-file saves sites with the last directory you were in, unlike the rc file, while still letting you use sitename abbreviations. freebsd.org:/pub/FreeBSD/packages/editors (Mail) ncftp>ls <eternal hang characteristic of passive negotiation failure> So then we try it with -P: chein-as-pc1 {916}# ncftp -P ftp://freebsd.org/pub/FreeBSD/packages/editors NcFTP 1.9.4 (April 15, 1995) by Mike Gleason, NCEMRSoft. Tip: You can put set commands in your .ncftprc, by adding lines such as '#set local-dir /usr/tmp' to the file, which will be run at startup. freebsd.org:/pub/FreeBSD/packages/editors (Mail) ncftp>ls aXe-6.1.2.tgz@ mule-2.2.2.tgz@ xhtml-dynamic.tgz@ emacs-19.28.tgz@ vile-5.2.tgz@ xhtml-static.tgz@ jove-4.16b.tgz@ xemacs-19.11.tgz@ xvile-5.2.tgz@ freebsd.org:/pub/FreeBSD/packages/editors (Mail) ncftp> Works fine! Our standard ftp doesn't default to passive mode either - you need to do a `passive' command first. What's the concensus on this? libftp, BTW, doesn't appear to handle passive mode _at all_! Oh well, so much for that particular option in the install.. :-( JOrdan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12309.800398826>