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 183472

Summary: Download files on open
Product: php Reporter: CoolGoose
Component: FTP SupportAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal CC: mapt, tmysik
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description CoolGoose 2010-04-05 09:46:51 UTC
It would be nice to have an option to download the file automatically on open from the remote server if you have a remote server connection and if possible different to be asked if you want to overwrite your existing file or not.

Right now if somebody makes a random change on a remote project (that i don't know exactly of) i need to re-download the hole project and then start editing on it.
Comment 1 Tomas Mysik 2010-04-05 14:36:40 UTC
Well, if there are more people working on the same project, any SCM should be used.

BTW if you download the whole source folder (right click on Source Files > Download), then only newer files should be preselected (this is true for dev builds, not 6.8). Of course, this cannot be reliable in all the cases but in general, it should work.
Comment 2 joao_candido 2010-04-05 16:40:06 UTC
I downloaded the hole project (recreated the project as remote) so now it´s really faster, but it still has a problem.

For example:

I´ve got a file called "requires.php" which instantiates the Smarty class like: $Smarty = new Smarty(); so I use this file by includint it in all my other php files. Before such change in my project, I could get autocomplete for $Smarty wherever I was, but not now.

Anyone knows why does it happens?

Thanks.
Comment 3 CoolGoose 2010-04-13 08:15:37 UTC
Yea but the idea is just to have an checkbox for "download on open" like the upload on save.

I know that a scm is maybe the best solution, but it can't always be implemented (clients with dumbed down webhosts etc).
Comment 4 Filip Zamboj 2010-09-15 12:37:35 UTC
batch reassigning
Comment 5 nimmr 2013-03-05 12:32:58 UTC
I'd like this feature to be implemented as well.

We now have a synchronize feature but it can take ages on big projects, and most of the time I just need to change a single file, and make sure I don't overwrite other changes.