New Download/Upload dialog

Hi, today it will be again a very short blog post about a feature we just added to the development version of NetBeans. Many of you requested this change so we hope that you will like this change:

New Remote Files Selection

The behavior should be as expected, it means that if one checks a directory, all folders and files underneath the directory are checked as well.

However, if anyone of you still prefer the current dialog (a "table"), start NetBeans with -J-Dnb.php.transfer.ui.table=true and leave a comment why do you think it's better, an option could be added for it (probably in Tools > Options > PHP).

That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans IssueZilla (component php, subcomponent FTP Support).


Thats great, but would be better if one could see the difference between partial selections and full selections. In your screenshot, the "apps" should be either grey, or a "-" instead of the check.

Posted by Oliver on March 08, 2010 at 02:34 PM CET #

To Oliver:
Feel free to submit a bug.

Posted by Tomas Mysik on March 08, 2010 at 03:52 PM CET #

Great Idea,
another really nice thing would be to have that kind of tree view for SVN synching like it is done in Eclipse. The current table layout is not optimal imho and I know people who refrain from using Netbeans just because of this.

Posted by kocha on March 09, 2010 at 02:29 AM CET #

To kocha:
Again, feel free to submit a bug (against Subversion support in NetBeans). Thanks.

Posted by Tomas Mysik on March 09, 2010 at 03:09 AM CET #

Very Nice!

Posted by alexey_baranov on March 09, 2010 at 03:40 AM CET #

Any plans to integrate directory syncing (i.e. showing only the files that are different between local and FTP) and diff?

Posted by Pies on March 09, 2010 at 04:37 PM CET #

It is cool that there are more support on the remote project.

I know you guys work very hard and have limit time and resource. but just some opinions on "upload on save" option:

When "upload on save" is on, if NB detects the remote file's source differ to the saved file's original source ( before it was edited ), the prompt is shown to have three options: [ overwrite remote, cancel and overwrite local ].

So it will prevent developer to overwrite someone's changes ( it always happens :p ) or developer doesn't need to always download all the source codes (because he/she doesn't know which files are updated by someone else)

But syncing is not really necessary, because the case is more complicated and the developers could handle themselves if the folder or file structure is altered.

Posted by Snake on March 09, 2010 at 08:10 PM CET #

To Pies:
Sorry, no syncing in our plans right now; changed files should be preselected if one uploads/downloads the _source-directory_ (it does not work for individual files, the timestamp is remembered for source-directory not for each particular file).

Posted by Tomas Mysik on March 10, 2010 at 02:01 AM CET #

To Snake:
IMHO if one works in a team, one should use any SCM (Mercurial, Subversion, Git, ...), there's no other reliable way to prevent data loss. If it is too complicated or can't be used, maybe some simpler solution (like Dropbox?) could be enough.

Posted by Tomas Mysik on March 10, 2010 at 02:03 AM CET #

To Tomas Mysik:

I really agree with you. Working in a team, SCM is needed. But there are many php developers, it might be one or two man, and a small team development, this feature really helps. As I discussed with you before ( ), some situation it is hard to replicated the prod environment to the dev environment, so we will choose to develope on a central dev server.

Or some developers might just want to use Netbeans to maintains a website. It is hard to tell a designer to use SCM ( it is great tool for developer , but not for designer ).

The suggestion I listed before, it is not about versioning or it is quite a reliable way, we could even do it manually in the environment without SCM: Before I edited a file, first I backup a source file and edit. Before I upload it to the remote. I will compare the remote file with the backup one, if they are the same, I will upload my edited file anyway. If not, I will merge them using diff.

Anyway, the same feature provided by Dreamweaver and I saw lots of PHP developers are sticked to DW due to this kind of things. I already convince lots of them to use NB to have more advance coding feature such as code completion, source code navigation.

I just think it is a nice feature for a small team or one designer and one developer team.

Posted by Snake on March 10, 2010 at 08:46 PM CET #

To Tomas Mysik:

I am not pushing you guys, because you guys have already worked on Netbeans for PHP and it really helps us and it is totally free of charge.

I just think this feature reflects some need for some developers who doesn't have a big team or they might work with some non-technical persons. Or they just do the maintain job for old project.

Posted by Snake on March 10, 2010 at 08:51 PM CET #

To Snake:
Feel free to submit an enhancement and we wiil see, but not for NB 6.9. Thanks.

Posted by Tomas Mysik on March 11, 2010 at 01:47 AM CET #

I had misgivings about downloading netbeans again. Last time I did, it took me nearly a week of gnashing of teeth and cursing.

I am a dialup user. Not by choice! My download speed is 10MB/h and my session online is 8 hours if I'm lucky. This results in a maximum file download of less that 80MB.

I understand that this is Sun, and is running enterprise class servers, yet I still expect resumable downloads.

Is there a reasonable reason to tie downloads to the user session? How about providing ftp mirrors?

Lucky, this time I was able to find a server in Greece.

Posted by Chris on March 16, 2010 at 11:29 PM CET #

i'm an italian developer, and i try to use netbean 6.8 fom my php projects.
I have a problem, i create a netbean project, with an ftp folder connection (because my php file are on a server).
The problem is:
I modify one php file outside netbeans. Is there a way to auto update this file in netbean when i open the IDE?
i try to explain better, if i download the single project file i have the right version. I would like to make this automatic, only for the modified file. Is this possilbe?
I try to use the "scan for project changes" but it doesn't work.

I hope somenone can help me, sorry for my English


Posted by Massimiliano on April 09, 2010 at 03:50 AM CEST #

To Massimiliano:
The best way to ask such questions is to use our PHP Users mailing list [1].


Posted by Tomas Mysik on April 09, 2010 at 03:59 AM CEST #

Hi guys,

It's great to see this kind of improvement, it's really needed!

It would be also nice to see and upload option, if I right-click any file or folder in the folder tree, so it would be possible to upload the selected item right away.

Another great thing would be if I could set up a keyboard-shortcut to upload the currently active file in the editor, so I could save it to disk without uploading it, if I want to (a shortcut for uploading all of the opened files could be a nice feature as well).

Posted by vito on May 18, 2010 at 06:46 AM CEST #

To Tomas:
Unfortunately I can't use any kind of syncing where I won't be notified of changes to the files on the server or where I can't easily preview and merge those changes.

Posted by Michal Tatarynowicz on May 18, 2010 at 06:57 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed

This blogs is written by NetBeans developers who contribute to the PHP support mainly.


« July 2016