Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.


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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.