From: Michael Powe <michael@trollope.org>
Subject: Re: ange-ftp and passvie mode
Date: 22 Mar 2003 12:57:34 -0500 [thread overview]
Message-ID: <87isub9tdd.fsf@cecilia.trollope.org> (raw)
In-Reply-To: m2fzpl4cp9.fsf@sbcglobal.net
>>>>> "Harry" == Harry Putnam <hgp@sbcglobal.net> writes:
Harry> My ftp client defaults to passive mode. The -p flag sets
Harry> passive on, so I see no way to start the client with
Harry> passive off. Other than giving the PASV command once it is
Harry> started.
Harry> I have one host that is different from any others I use.
Harry> That host won't work with ange-ftp. It does work with the
Harry> command line ftp client if I switch off passive mode.
Harry> So... What is the easiest way to switch off passive mode
Harry> when using ange-ftp? That is, how can I pass a command to
Harry> my ftp client when calling it with ange-ftp? None of the
Harry> M-x ange-ftp-<spc> completions look like they do that.
Harry> Currently, calling ange-ftp on this particular client just
Harry> hangs and never gets to a password prompt.
hmm, well, you could set up two versions of ftp, one passive, one
not. i seem to recall i used to have a program called 'pftp' which
was ftp with passive mode the default. i don't have that any more but
i see a reference to it in google. then you could create a function
that would call the appropriate version for your particular needs.
why is ftp defaulting to 'passive on'? that's not really best
behavior. do you have it aliased to 'ftp -p'?
(setq ange-ftp-ftp-program-name "/usr/bin/ftp")
(setq ange-ftp-ftp-program-args (cons "-p" ange-ftp-ftp-program-args))
maybe 'tramp' could help?
mp
--
Michael Powe Waterbury, CT USA
-------------------------------------------------------------------
"It stands to reason that self-righteous, inflexible, single-minded,
authoritarian true believers are politically organized. Open-minded,
flexible, complex, ambiguous, anti-authoritarian people would just as
soon be left to mind their own fucking business." - R.U. Sirius
next prev parent reply other threads:[~2003-03-22 17:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-18 2:42 ange-ftp and passvie mode Harry Putnam
2003-03-22 17:57 ` Michael Powe [this message]
2003-03-26 13:26 ` Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87isub9tdd.fsf@cecilia.trollope.org \
--to=michael@trollope.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.