> From: [EMAIL PROTECTED]
 > To: [EMAIL PROTECTED]
 > Subject: Re: sftp
 > Date: Wed, 13 Oct 1999 13:37:17 +0900
 > 
 > reader> Are you saying that Emacs can use scp to edit remote files as
 > reader> if they were on disk as it does with ange-ftp?
 > 
 > here is a fragment of a frequent post to one of the emacs newsgroups --
 > it only explicitly mentions rcp, but i have heard many people say that
 > it works w/ ssh/scp.
 > 
 > <blatant plug>
 >   Try rcp.el which is similar to ange-ftp but uses rsh/rcp or similar
 >   programs to transfer files.
 >   ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/emacs/rcp.el
 > </blatant plug>

rcp.el support rcp, scp, and rsync (plus some more obscure others).  All of
them utilize a rsh-like program (e.g., ssh) to provide directory listings
so that filename completion, et al., works.

I am most interested in rsync (over ssh), since this might offer the
potential of much greater efficiency when editing a remote file with
frequent saves.  Conceivably this could beat saving via NFS on a 10Mb LAN.

My experience so far is that it is a servicable work-alike to ange-ftp.

There's a substantial overhead because Emacs accesses the file system many
times (checking dates, permissions, links, etc.) when saving files, and I
think that these currently translate into separate ssh tranactions.

Also file renaming doesn't work, so that the "safe" saves of mail files
(which involve writing to a temp file followed by a rename) don't work.

-- 
Charles Karney
Plasma Physics Laboratory         E-mail:  [EMAIL PROTECTED]
Princeton University              Phone:   +1 609 243 2607
Princeton, NJ 08543-0451          FAX:     +1 609 243 3438

Reply via email to