Sync project via FTP

I’m a software developer, and work on projects at home, and on different computers at work. Lately moving around files have beginning to become a annoyance. So I wonder if it’s any way I can automatically sync everything up from a FTP server? Preferably with a NetBeans/Eclipse plugin.