aspose file tools*
The moose likes Servlets and the fly likes Servlet listening for a file on the file system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet listening for a file on the file system" Watch "Servlet listening for a file on the file system" New topic
Author

Servlet listening for a file on the file system

rastas biggs
Ranch Hand

Joined: Sep 24, 2004
Posts: 41
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

Joined: Jan 10, 2002
Posts: 61191
    
  66

No. Servlets are not an appropriate technology choice for this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bill Fences
Greenhorn

Joined: Oct 23, 2004
Posts: 9
Thanks Bear, what would you suggest?

BF
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet listening for a file on the file system