aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-02-05 17:19:23 +0000
committerEli Zaretskii2001-02-05 17:19:23 +0000
commit436b2c06891bbe15c3efbd236acf2c4745f952d5 (patch)
tree040cb2d8e9e3c578f13f9bca2573f1bbeb13befd
parentd238f982a5835f590c3a1aeb2c2bee8f3f68c02b (diff)
downloademacs-436b2c06891bbe15c3efbd236acf2c4745f952d5.tar.gz
emacs-436b2c06891bbe15c3efbd236acf2c4745f952d5.zip
(Remote Files): Explain how to use ange-ftp behind firewalls. Add a
pointer to the ange-ftp.el commentary for more usage tips.
-rw-r--r--man/files.texi41
1 files changed, 41 insertions, 0 deletions
diff --git a/man/files.texi b/man/files.texi
index 47cfb174ee0..0ce92b90009 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -2625,15 +2625,56 @@ name @var{user}. It may ask you for a password from time to time; this
2625is used for logging in on @var{host}. The form using @var{port} allows 2625is used for logging in on @var{host}. The form using @var{port} allows
2626you to access servers running on a non-default TCP port. 2626you to access servers running on a non-default TCP port.
2627 2627
2628@cindex backups for remote files
2629@vindex ange-ftp-make-backup-files
2630 If you want to disable backups for remote files, set the variable
2631@code{ange-ftp-make-backup-files} to @code{nil}.
2632
2628@cindex ange-ftp 2633@cindex ange-ftp
2629@vindex ange-ftp-default-user 2634@vindex ange-ftp-default-user
2635@cindex user name for remote file access
2630 Normally, if you do not specify a user name in a remote file name, 2636 Normally, if you do not specify a user name in a remote file name,
2631that means to use your own user name. But if you set the variable 2637that means to use your own user name. But if you set the variable
2632@code{ange-ftp-default-user} to a string, that string is used instead. 2638@code{ange-ftp-default-user} to a string, that string is used instead.
2633(The Emacs package that implements FTP file access is called 2639(The Emacs package that implements FTP file access is called
2634@code{ange-ftp}.) 2640@code{ange-ftp}.)
2635 2641
2642@cindex anonymous FTP
2643@vindex ange-ftp-generate-anonymous-password
2644 To visit files accessible by anonymous FTP, you use special user
2645names ``anonymous'' or ``ftp''. Passwords for these user names are
2646handled specially. The variable
2647@code{ange-ftp-generate-anonymous-password} controls what happens: if
2648the value of this variable is a string, then that string is used as
2649the password; if non-@code{nil} (the default), then the value of
2650@code{user-mail-address} is used; if @code{nil}, the user is prompted
2651for a password as normal.
2652
2653@cindex firewall, and accessing remote files
2654@cindex gateway, and remote file access with @code{ange-ftp}
2655@vindex ange-ftp-smart-gateway
2656@vindex ange-ftp-gateway-host
2657 Sometimes you may be unable to access files on a remote machine
2658because some machine in between (usually called a @dfn{firewall})
2659blocks the connection for security reasons. However, you might have
2660account on another machine, called a @dfn{gateway}, from which the
2661target files @strong{are} accessible. Instead of logging into the
2662gateway, downloading the files, then copying them to your local
2663machine, you can set the variable @code{ange-ftp-smart-gateway} to a
2664non-@code{nil} value, and Emacs will use advanced FTP features to
2665access the remote machine. If this doesn't work, try setting the
2666variable @code{ange-ftp-gateway-host} to the name of the gateway
2667machine (which is the name you use to log into the gateway). Then
2668Emacs will try to run the FTP process on the gateway for you. If that
2669doesn't work either (because the FTP program on your machine doesn't
2670support some of the required features), read the instructions in the
2671@file{ange-ftp.el} file about working with gateways. You can read
2672these instructions by typing @kbd{M-x finder-commentary @key{RET}
2673ange-ftp @key{RET}}. Those instructions include various additional
2674tips for using @code{ange-ftp}.
2675
2636@vindex file-name-handler-alist 2676@vindex file-name-handler-alist
2677@cindex disabling ange-ftp
2637 You can entirely turn off the FTP file name feature by removing the 2678 You can entirely turn off the FTP file name feature by removing the
2638entries @var{ange-ftp-completion-hook-function} and 2679entries @var{ange-ftp-completion-hook-function} and
2639@var{ange-ftp-hook-function} from the variable 2680@var{ange-ftp-hook-function} from the variable