This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet listening for a file on the file system

 
rastas biggs
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I use a servlet to implement a listener.

Let say some one ftps a file into a directory I want my servlet to handle the file e.g. read the data and do something with it.

Is this possible and if so can some one post some sample code.

Cheers
RB
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Servlets are not an appropriate technology choice for this.
 
Bill Fences
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear, what would you suggest?

BF
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic