This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.1 (Build 201510222201) Operating System = Linux version 4.2.0-35-generic running on amd64 Java; VM; Vendor = 1.8.0_60 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Reproducibility: Happens every time STEPS: With an FTP or SFTP connection set to upload manually, keep-alive 30 secs (or any other value other than 0), timeout 600 secs (or any other value higher than the keep-alive), right-click a file in the Projects tab, select upload, wait for the file to upload. At the end it says "GOODBYE". Try to upload any file again. The connection reconnects. ACTUAL: Every file upload the connection connections, uploads, then disconnects. EXPECTED: First time connection should connect and upload, afterwards the connection should be kept-alive, and the next time I upload something shortly thereafter, it should re-use the connection rather than re-connecting, saving about 10 seconds
The keep-alive settings applies currently only for upload-on-save functionality. If one invokes any upload/download action manually, client disconnects. Will try to have a look whether it can be asily changed/improved. Thanks for reporting.
Unfortunately, too risky for NB 8.2 but will try to implement it for the next release. Thanks for reporting.