13

Periodically, when I am saving files, I get the error dialog Upload files On Save failed. Disable this functionality for this session?. Sometimes I accidentally select 'Yes'. How can I re-enable that functionality for the session without re-starting the IDE?

Sonny
  • 655
  • 1
  • 10
  • 19

3 Answers3

14

I personally did not find any option to re-enable FTP Upload for session, but if you go to Project Properties and set in the Run Configuration "tab" the option Upload Files to "On Run" or "Manually", hit Ok, and then modify it again to "On Save", then the FTP Upload on save is enabled again.

Hope this was helpful!

Cristian Parvu
  • 141
  • 2
  • 4
  • As of 2017 this is the only method that works without having to restart project or IDE. – 25r43q Jul 04 '17 at 14:58
  • As of 2020 You can also close and re-open the project, or change the Run Configuration in project settings, as the other answers pointed out. – OG Sean Dec 10 '20 at 22:40
4

I close and open the project on netbeans 7.3. And syncing works again. This is faster than restarting the IDE.

juwens
  • 372
  • 3
  • 9
0

I've found a third solution that's related, and it's what I use now.

I use Atlassian SourceTree and its Git Flow implementation. While finishing hotfixes or releases, I actually don't want NetBeans to sync automatically. I've created a second configuration that I label "No Sync" for that purpose.

Simply switching to that configuration and then back to <default> re-enables syncing.

enter image description here

Sonny
  • 655
  • 1
  • 10
  • 19