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 249133 (issues@php)

Summary: PHP file save to remote without warning if file is different size, when working on team, we loose data because we don't know if someone change it.
Product: php Reporter: tomy300
Component: FTP SupportAssignee: Tomas Mysik <tmysik>
Status: NEW ---    
Severity: normal CC: tomy300
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
URL: issues@php
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: IDE log

Description tomy300 2014-12-05 05:18:43 UTC
Product Version = NetBeans IDE Dev (Build 201411250001)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Comment 1 tomy300 2014-12-05 05:18:45 UTC
Created attachment 150901 [details]
IDE log
Comment 2 tomy300 2014-12-05 05:24:39 UTC
PHP file save to remote without warning if file is different size, when working on team, we loose data because we don't know if someone change the file remotely.

please fix this, we can't take a chance to use netbeans because of this, too dangerous.

but we love NetBeans.

an upgrade will be nice for php, I got some website that is huge and when setup a project netbean load all the file localy via FTP. why not use a ghost vdir that show all the file from the server. on double click on the file it will show and on save it will save back to the server.

what if I have 100 website, this is a huge space use to my local HD.


Thanks for the great product and great community.
Comment 3 Tomas Mysik 2014-12-05 06:33:40 UTC
(In reply to tomy300 from comment #2)
> PHP file save to remote without warning if file is different size, when
> working on team, we loose data because we don't know if someone change the
> file remotely.
> 
> please fix this, we can't take a chance to use netbeans because of this, too
> dangerous.

Well, you should not be using simple (S)FTP client but some real SCM (git etc.), right? NetBeans has never had any ambitions to replace SCM.

> an upgrade will be nice for php, I got some website that is huge and when
> setup a project netbean load all the file localy via FTP. why not use a
> ghost vdir that show all the file from the server. on double click on the
> file it will show and on save it will save back to the server.

Unrelated to this issue. NetBeans needs to know contents of all the project files so it can work reliably (code-completion, refactoring etc.).

Thanks.