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.

Bug 270200

Summary: Remote FTP/SFTP Connection should stay open with keepalives to speed up upload manually
Product: php Reporter: nawwar
Component: FTP SupportAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal CC: arkoak, bompus, digimuzik, digitaltoast, gblues, kovalski, marckoby, moraxy, nd987, Sarke, swilk, t3jkb, tmysik, vriha
Priority: P2    
Version: 8.2   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 187836    
Bug Blocks:    

Description nawwar 2017-03-25 23:07:04 UTC
Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 1
Java: 1.8.0_121; Java HotSpot(TM) 64-Bit Server VM 25.121-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_121-b13
System: Mac OS X version 10.12.3 running on x86_64; UTF-8; en_US


Similar to cloned bug #187836
If the project is set upload files Manually, the sftp is disconnected once the upload is done even if keep alive parameter is set to 1800 seconds.
I tried setting project to upload on save, and it keeps connection live, but when set to upload manually it closes the connection after each manual upload.

I personally keep saving the file a lot of times while working, while not ready to upload the saved file, so I put config to upload manual, but I also upload a lot of files manually (using a keyboard shortcut to upload each file I want).

It would save a lot of time if it keeps the connection alive when I set connection Keep-alive intervals to a value, Currently it keeps re-authenticating and connecting each time I upload a file manually, making an overhead of <10 seconds on each upload.


+++ This bug was initially created as a clone of Bug #187836 +++

Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

It would greatly speed up my rapid remote development if the Project Properties -> Run Configuration -> Remote Connection had an option to remain connected as long as the project was opened, and would send keepalives to the FTP/SFTP server. Right now I save and it has to connect to the SFTP server, perform authentication, change directories, upload file, etc.. When it could bypass some of those steps by remaining connected.

Not a show stopper, but something easy to add and implement to make NetBeans even greater.