• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ftplet in apache FTP Server  RSS feed

 
Barun Das
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks in advance.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Barun Das
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey Ulf Dittmer, thanks for the information... i've solve my problem...
thanks again...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!