Uploading file via FTP or servlet
I want to transfer a file between two java clients on the internet. I know I can do it using either Java-FTP (which works better for large files and once the file is uploaded then it will remain on the FTP server). Or I can send the file to a servlet and make it stores the file temporary for the other party so he can download it within few minutes (something like the file share in yahoo messenger), this seems to work for small file sizes.
What are your comments, Idea, reviews about this?