I’m trying to create a simple e-mail program just for exchanging messages between a friend and I. I currently have an FTP account at ftp.tripod.com . Is there any APIs available to interface with FTP, with login/password/etc? Or do I just use the regular I/O?
There are plenty of FTP libraries available: http://www.javaworld.com/javaworld/jw-04-2003/jw-0404-ftp.html
But why use FTP for email? Why not use POP/SMTP?
There’s an extension to Java called JavaMail that is specifically for working with email.
You can use FTP in Java, but it doesn’t normally have anything to do with email.
With JavaMail you will need a mail server. (Windows XP has built-in mail server). But I doubt this is what you are looking for. You should explain what exactly do you need.
Guys, I think the OP means “email” in a conceptual sense - he wants to use an FTP account as a drop-box for sending messages back and forth, without using e.g. all the rigaramole of email, and (possibly) without facing the slowness and filesize limits of email.