Mercurial > emacs
comparison man/files.texi @ 35908:4ba2a6029c03
(Remote Files): Explain how to use ange-ftp behind firewalls. Add a
pointer to the ange-ftp.el commentary for more usage tips.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 05 Feb 2001 17:19:23 +0000 |
parents | 041d3acb9312 |
children | ed2fbc8a7b22 |
comparison
equal
deleted
inserted
replaced
35907:1dc1345e8325 | 35908:4ba2a6029c03 |
---|---|
2623 the specified host. It logs in through FTP using your user name or the | 2623 the specified host. It logs in through FTP using your user name or the |
2624 name @var{user}. It may ask you for a password from time to time; this | 2624 name @var{user}. It may ask you for a password from time to time; this |
2625 is used for logging in on @var{host}. The form using @var{port} allows | 2625 is used for logging in on @var{host}. The form using @var{port} allows |
2626 you to access servers running on a non-default TCP port. | 2626 you 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, |
2631 that means to use your own user name. But if you set the variable | 2637 that 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 | |
2645 names ``anonymous'' or ``ftp''. Passwords for these user names are | |
2646 handled specially. The variable | |
2647 @code{ange-ftp-generate-anonymous-password} controls what happens: if | |
2648 the value of this variable is a string, then that string is used as | |
2649 the 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 | |
2651 for 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 | |
2658 because some machine in between (usually called a @dfn{firewall}) | |
2659 blocks the connection for security reasons. However, you might have | |
2660 account on another machine, called a @dfn{gateway}, from which the | |
2661 target files @strong{are} accessible. Instead of logging into the | |
2662 gateway, downloading the files, then copying them to your local | |
2663 machine, you can set the variable @code{ange-ftp-smart-gateway} to a | |
2664 non-@code{nil} value, and Emacs will use advanced FTP features to | |
2665 access the remote machine. If this doesn't work, try setting the | |
2666 variable @code{ange-ftp-gateway-host} to the name of the gateway | |
2667 machine (which is the name you use to log into the gateway). Then | |
2668 Emacs will try to run the FTP process on the gateway for you. If that | |
2669 doesn't work either (because the FTP program on your machine doesn't | |
2670 support some of the required features), read the instructions in the | |
2671 @file{ange-ftp.el} file about working with gateways. You can read | |
2672 these instructions by typing @kbd{M-x finder-commentary @key{RET} | |
2673 ange-ftp @key{RET}}. Those instructions include various additional | |
2674 tips 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 |
2638 entries @var{ange-ftp-completion-hook-function} and | 2679 entries @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 |
2640 @code{file-name-handler-alist}. You can turn off the feature in | 2681 @code{file-name-handler-alist}. You can turn off the feature in |
2641 individual cases by quoting the file name with @samp{/:} (@pxref{Quoted | 2682 individual cases by quoting the file name with @samp{/:} (@pxref{Quoted |