Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Using Remote System Explorer in Eclipse, anyway to automatically sync files while program is running?

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Using Remote System Explorer in Eclipse, anyway to automatically sync files while program is running?

    Hey Guys

    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.


  2. #2
    Member
    Join Date
    Nov 2013
    Location
    Bangalore, India
    Posts
    70
    My Mood
    Cool
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Default 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.

Similar Threads

  1. Replies: 3
    Last Post: November 28th, 2013, 08:44 AM
  2. Replies: 21
    Last Post: June 12th, 2013, 11:33 AM
  3. Replies: 1
    Last Post: December 27th, 2012, 03:57 PM
  4. Replies: 3
    Last Post: August 3rd, 2012, 10:40 AM
  5. remote system shutdown
    By prince joseph in forum What's Wrong With My Code?
    Replies: 0
    Last Post: March 28th, 2010, 02:35 AM