unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Help with ange-ftp + .netrc in emacs
@ 2010-11-08  9:29 Allan Melsen
  2010-11-08 17:34 ` RE " gerald.jean
  0 siblings, 1 reply; 2+ messages in thread
From: Allan Melsen @ 2010-11-08  9:29 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

Hey guys,

I've been trying desperately to get my emacs configured to use ange-ftp to
an ftp server.

My shell-box is behind a firewall, and as such I have my .emacs file looking
like this:

 Code:

(require 'tramp)
(setq tramp-default-method "ftp")
(setq ange-ftp-ftp-program-name "pftp")

And then I've tried to set up my .netrc file as this to be able to use
autocompletion on host name.. and this I can't even get to work either....

 Code:

machine server-host-name port-no
        login <my-user>
        password <my-password

And I just can't get it work... it won't autocomplete the servername.. and
if I try to open the ftp connection manually by

ctrl-x, ctrl-f and then typing:

/username:password@servername#port:~/

.. it just says it's not a valid tramp file...

What am I doing wrong... can anyone please explain how this is to be set
up.. I've read pages up and down on wiki's on how to do this.. but to no
prevail.

I'm running Ubuntu and emacs22 from a shellbox.

Does anyone perhaps have an example .emacs file they can supply me with
where they know that ftp works in emacs.


Best regards,

- Allan
Denmark

[-- Attachment #2: Type: text/html, Size: 2057 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-08 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08  9:29 Help with ange-ftp + .netrc in emacs Allan Melsen
2010-11-08 17:34 ` RE " gerald.jean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).