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
i'm not sure why it is happening, can anyone please give me some suggestions/ideas to proceed for this issue.