7

Is there a way to compare local and remote (FTP) file in NetBeans?

There is an upload (and download) command in NetBeans. What I want to do is to see the changes between local and remote version in built-in compare tool when I am using download and upload and ideally select which changes to apply.

In short, I would like to sync local and remote files using NetBeans' compare tool.

Josef Sábl
  • 7,538
  • 9
  • 54
  • 66

5 Answers5

6

Right click + synchronise. A new window appears. Then select the "Review difference" icon.

sdemonti
  • 61
  • 1
  • 2
1
  1. Select a file in the main editor or in Files/Projects panel
  2. Select Tools->Diff and a new window will open allowing you to select the file to "Diff to"

Available as code or text difference. Very good

  • 1
    You can use this, if you rename the local file, download the remote, then select both and right click on `Tools > Diff`. But thats not very comfortable. – PiTheNumber Jul 25 '12 at 14:08
1

PHPStorm can do it. The same setup as Netbeans, with your local files which can be uploaded to the server with a click, but you can do a lovely visual diff with the remote version with one click too. If you're not working with PHP, i think they have other very similar products. Only downside is it's £80 for a license.

chichilatte
  • 1,697
  • 19
  • 21
0

It looks like there is no way to do it in NetBeans. There are however some standalone solutions, like vuBrief or FtpVC (not free).

Josef Sábl
  • 7,538
  • 9
  • 54
  • 66
0

Another way could be to use the old collaboration plugin or kenai support to use remote editing features.

E.g. see: Where can I find the old "Developer Collaboration" plugin?

Community
  • 1
  • 1
Karussell
  • 17,085
  • 16
  • 97
  • 197