comparison man/files.texi @ 45892:58c783d19649

@node{Remote Files}: Mention Tramp.
author Kai Großjohann <kgrossjo@eu.uu.net>
date Tue, 18 Jun 2002 09:55:53 +0000
parents 1fdf19dbc2e8
children 87962bf716e3
comparison
equal deleted inserted replaced
45891:e945d29fa2b5 45892:58c783d19649
2957 extract or manipulate the subfiles in the archive. 2957 extract or manipulate the subfiles in the archive.
2958 2958
2959 @node Remote Files 2959 @node Remote Files
2960 @section Remote Files 2960 @section Remote Files
2961 2961
2962 @cindex Tramp
2963 In the following, file access via FTP will be discussed. In
2964 addition to that facility, it is also possible to access remote files
2965 through a shell connection. @xref{Top, The Tramp Manual,, tramp, The
2966 Tramp Manual}.
2967
2962 @cindex FTP 2968 @cindex FTP
2963 @cindex remote file access 2969 @cindex remote file access
2964 You can refer to files on other machines using a special file name syntax: 2970 You can refer to files on other machines using a special file name syntax:
2965 2971
2966 @example 2972 @example
2975 When you do this, Emacs uses the FTP program to read and write files on 2981 When you do this, Emacs uses the FTP program to read and write files on
2976 the specified host. It logs in through FTP using your user name or the 2982 the specified host. It logs in through FTP using your user name or the
2977 name @var{user}. It may ask you for a password from time to time; this 2983 name @var{user}. It may ask you for a password from time to time; this
2978 is used for logging in on @var{host}. The form using @var{port} allows 2984 is used for logging in on @var{host}. The form using @var{port} allows
2979 you to access servers running on a non-default TCP port. 2985 you to access servers running on a non-default TCP port.
2986
2987 For using Tramp, the file name syntax looks like this:
2988
2989 @example
2990 @group
2991 /[@var{host}]@var{filename}
2992 /[@var{user}@@@var{host}]@var{filename}
2993 /[@var{method}/@var{user}@@@var{host}]@var{filename}
2994 @end group
2995 @end example
2996
2997 @noindent
2998 Note that the square brackets are part of the file names.
2980 2999
2981 @cindex backups for remote files 3000 @cindex backups for remote files
2982 @vindex ange-ftp-make-backup-files 3001 @vindex ange-ftp-make-backup-files
2983 If you want to disable backups for remote files, set the variable 3002 If you want to disable backups for remote files, set the variable
2984 @code{ange-ftp-make-backup-files} to @code{nil}. 3003 @code{ange-ftp-make-backup-files} to @code{nil}.