Using Remote System Explorer in Eclipse, anyway to automatically sync files while program is running?
My title pretty much states the question. I am building a webapp in eclipse and i would like to know that is there a command that i can run while the program is running to sync my file to my ftp server which is already connected. Like i have a file called response.xml so when i make changes to it using my program, i would like it to be uploaded onto my ftp server as soon as that class is done executing. I dont want to exit the program and manually sync.
Any ideas? Keep it simple please as im not THAT experienced in java networking.
Re: Using Remote System Explorer in Eclipse, anyway to automatically sync files while program is running?
You can monitor for files/directory for changes using nio in Java. Moment you find changes you can upload the file to FTP.