I am developing an application in J2EE which involves an FTP server. I am using apache FTP Server and i want to initiate a job(call a servlet or send a message to a queue so that my MDB wake up) when a new file is uploaded into the ftp server. Can anyone guide me.
It seems that you are aware that you can use Ftplets for this. Write a class that extends DefaultFtplet, override the onUploadEnd method to do whatever it is that you need done, and configure the server according to the Ftplet documentation. It sounds like none of this is very complex.