Manomohan K Kalathil wrote:
>
> Hans,
>  My requirement is to store the address book , .vacation, .fwd and a
> preferences file for each user on the mail server . The web server should
> be able to retrieve , manipulate and store the files back to the mail
> server .
> Java mail does not have any specs on address books ,an handling remote
> files since it only talks imap or pop
> Looking at RMI or something like that .....
> Question ? what is the best method ? what are the alternatives?

Okay, so the fact that it's a mail server is not really important; you
want to read and write files on a remote server, if I understand you
correctly.

There's always file access restrictions to deal with, but in general it
sounds like you want something like an FTP Java API in the servlet talking
to an FTP daemon on the (mail) server. There are a number of FTP classes
in the com.sun.net package in Sun's JDK, probably implementing support for
"ftp:" URLs. But since they are not part of the official Java API there's
no guarantee they are available in all JDKs, and I don't know where to find
documentation for them. Maybe someone else on the list knows? Or probably
even better, knows about another source for FTP classes.

--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to