lukasz-wronski / vscode-ftp-sync

Ftp Sync plugin for Visual Studio Code
https://marketplace.visualstudio.com/items/lukasz-wronski.ftp-sync
322 stars 83 forks source link

Keep alive option #99

Open Fluttercom opened 8 years ago

Fluttercom commented 8 years ago

Hi! My ftp server disconnects after some time of inactivity and plugin doesn't recognize the disconnect. When I try to save a file, it tries to upload it, got error and the "uploading..." status hangs in the ststus bar.

So, we need here a keep alive option and probably check for errors.

davidcie commented 7 years ago

I'd like to add to that. I frequently leave VS Code open when putting my laptop to sleep (ie. closing the lid). When it comes back from sleep, I am greeted with "Error: No-transfer-time exceeded. Closing control connection." that needs to be dismissed manually with a button press.

It would be great if ftp-sync could either:

  1. Turn this into an auto-dismissed notification
  2. Silently re-connect
  3. Ignore this error alltogether as fairly harmless and/or to-be-expected
  4. At least have a setting to ignore this message

This is my only pet peeve with this awesome extension so would love to see it fixed.