3 Replies Latest reply: Jan 16, 2009 2:05 AM by 800282 RSS

    File is not moved to directory due to some strange/weired problems !!!!

      Hi All,

      I've deployed my application in the tomcat server. I'm trying to move files through java every 10 minutes (Job scheduling via quartz) from one folder to another folder after successfully sending the file to FTP server.

      1. Sending a file to FTP server - worked fine.
      2. Moving the file from one folder to other folder - failed

      I've properly closed the stream after sending the file to the FTP server.

      Sometimes the files is not moved and the problem re-occurs again and it worked fine only when i re-started the tomcat
      server again.

      i'm not sure why it is happening, can anyone please give me some suggestions/ideas to proceed for this issue.