Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


I want to edit a file on a ftp server (provided by the french IP Free).
Files are mounted on my comp via gvfs and I'd like to use emacs (23.1.1). Here is what I get when I save after edit

Saving file /home/ugo/.gvfs/ftp as ***** on ftpperso.free.fr/index.htm...
basic-save-buffer-2: Opening output file: device or resource busy, /home/ugo/.gvfs/ftp as ***** on ftpperso.free.fr/index.htm

Editing locally and the moving file back to the gvfs directory is a workaround but I'd like to avoid this.
Any Idea ?

share|improve this question
up vote 2 down vote accepted

If gvfs isn't working for you, a substitute is Emacs's own ftp interface, ange-ftp. Open your file as /ftp:YOURUSERNAME@ftpperso.free.fr:index.htm. This has the advantage of working even if your Emacs doesn't support gvfs. The main downside I can think of is that you'll have to type your password in Emacs, since AFAIK Emacs's password management hasn't been integrated with any external keyring program.

share|improve this answer
    
Thank you. /ftp:YOURUSERNAME@ftpperso.free.fr:index.htm – Ugo Nov 10 '10 at 15:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .