#38 Online Editing

open
None
5
2015-06-05
2006-11-30
Anonymous
No

Hi !

I would like to know if it will be possible in the futur to edit a file directly on a remote ftp. It's a very usefull functionnality.

Thanks.

Discussion

  • Enrico Tröger

    Enrico Tröger - 2006-12-03

    Logged In: YES
    user_id=1117045
    Originator: NO

    I don't think so. This could be done on filesystem level using LUFS oder FUSE. With these tools you can mount filesystems from a server over a FTP or SSH connection and use it as it were a local filesystem.

    On the other hand, maybe there will be a plugin for editing remote files sometime. For the moment, I would suggest to use LUFS or FUSE.

     
  • Enrico Tröger

    Enrico Tröger - 2006-12-03
    • assigned_to: nobody --> eht16
    • status: open --> closed
     
  • Nobody/Anonymous

    • status: closed --> open
     
  • Nobody/Anonymous

    Logged In: NO

    ok thanks a lot
    I'll take a look on it

     
  • Jeff Pohlmeyer

    Jeff Pohlmeyer - 2007-01-22

    Logged In: YES
    user_id=313414
    Originator: NO

    gftp is also very nice for this.

    It provides easy login and file management on remote servers.
    It supports ftp, ssh, etc... and you can specify your favorite
    editor ( geany, of course :) for online editing.

    Get it from http://gftp.seul.org/

    - Jeff

     
  • Nobody/Anonymous

    Logged In: NO

    Please consider this. It could be very primitive, without any specific functional hardcoding, only using userland tools (ssh, ftp) for receive/send file. It is _very_ useful.

    (Another user)

     
  • Nobody/Anonymous

    Logged In: NO

    I'd really love to have this feature in geany, I'm currently using jedit which implements it via a plug in and it works great

     
  • Franta Rámus

    Franta Rámus - 2015-06-05

    Hi, have you considered this feature yet? I don't believe that mounting remote filesystem is sufficient replacement for a feature like this, since it requires a large overhead. (for example, I have multiple FTP ans SSH accounts, none of which is mounted. I do dozens of edits every day on those accounts. Mounting all of them or mounting single one every time is very painful. I use Kate for remote editing now, but it would be super useful to have it in Geany so I wouldn't have to use two editors)

    I'm actually thinking of leaving Geany in favor of Kate just because this missing feature, even though Geany is better in many other ways.

    EDIT: if someone can point me into right direction, I can implement this feature and create a pull request...

     
    Last edit: Franta Rámus 2015-06-05
  • Colomban Wendling

    Hi, have you considered this feature yet? I don't believe that mounting remote filesystem is sufficient replacement for a feature like this, since it requires a large overhead.

    How is mounting a remote filesystem a large overhead? If you use gvfs-fuse (or anything mounting remote FS with FUSE or similar) you merely have to click on a button to be able to open files there. Here, while I don't really edit files remotely, I have a bookmark in the file chooser pointing to a SSH remote, and I can choose a file directly for Geany's open dialog: if it's not already mounted clicking on the bookmark tries to mount it (asking for credentials if needed) and then I can browse those remote files like any other.
    I don't really see what could be handier and more generic than this? And the best part is there is zero code in Geany for this :)

    If this isn't satisfying for you, you'll probably need to be more explicit and what you're searching for, because I'm afraid I don't really get it.

    EDIT: if someone can point me into right direction, I can implement this feature and create a pull request...

    I think someone (maybe leo-unglaub on IRC?) already mentioned this recently, but depending on what UI you're after, you could probably easily write a plugin that achieves your goal by fetching remote files and then copy them back e.g. on save.

     
    • Franta Rámus

      Franta Rámus - 2015-06-08

      Thanks for the quick response!

      In the case you are describing, it is not so much overhead to use gvfs-fuse. But in my case, I don't have a fixed number of connections. I frequently use multiple SSH and FTP accounts (dozens) that I have never used before and probably will not use them in the future. In this case, I would need to configure the share every time I need to connect to new account and remove it every time I'm finished working on that particular account. With Kate, I just F4 the file when on the share in file manager.

      I will definitely look into plugin creation, I have in fact already started reading docs for this. Hope it will be possible with current API, I agree it is best to develop this kind of functionality aside instead of bloating main source.

      Cheers!

       
      Last edit: Franta Rámus 2015-06-08
      • Colomban Wendling

        I will definitely look into plugin creation, I have in fact already
        started reading docs for this. Hope it will be possible with current
        API,

        It should be, and if anything is missing don't hesitate to ask, we can
        either point you in the right direction or probably add the missing
        bits, if any.

         

Log in to post a comment.