Closed urban-1 closed 6 years ago
Hi Andreas,
I've been testing your PR the last week. I have a server that is behaving strangely. There seems to be a timeout of sorts. Saving (and reconnecting) silently fails even with this PR. The only way to recover is to restart atom. I have not have the time to investigate, but would like to do that before committing this PR.
The problem I was experiencing was related to timeouts in firewalls / nat. I will add a keepalive to the ssh2 connect. The ftp module seems to have a keepalive by default.
Hi,
I looked a bit on how errors are being handled and found out few things:
writeFile
method. This is now being handledThis has been partly tested with a local connection and lock filesystem permissions (to trigger errors). It should be contributing towards a more stable plugin, issue (#17) but I think we should leave the issue open.
Let me know what you think about this PR and if you see space for quick improvements