#3774 No prompt when open files are changed on disk (sftp)

closed-duplicate
nobody
5
2013-10-26
2013-01-02
Anonymous
No
0 up votes | 0 down votes | 0%
3 comments

The option to be prompted if open files are changed on disk does not work when editing a file which has been loaded via sftp.

To reproduce:

Go to Utilities -> Buffer Options and set '"If open files are changed on disk" to "prompt"
Open a file via sftp
Edit same file via another editor (eg, vim)

Expected behaviour: jEdit should prompt that the file has changed.
Actual behaviour: No prompt is displayed.

jEdit 4.5.2 Server mode using Java 1.7.0_09

For comparison, the prompt is displayed correctly if the file being edited is accessed locally on the same filesystem.

Discussion

  • Alan Ezust
    Alan Ezust
    2013-02-12

    I somehow doubt it is possible to implement this, since there is no network connection between you and the server while you are editing a file over sftp. It only connects when you try to save or reload. Not periodically.
    This also might be a limitation of the FTP VFS or the SFTP protocol.

     
  • Alan Ezust
    Alan Ezust
    2013-02-12

    • labels: 102668 --> virtual file systems
     
  • Alan Ezust
    Alan Ezust
    2013-10-26

    • status: open --> closed-duplicate
     
  • Alan Ezust
    Alan Ezust
    2013-10-26

    Duplicate of 1694134