Upload via FTP with JSP

I have an httpdocs folder and I want to update files to this folder via ftp from my jsp pages, anyone has some class or Bean that would do the trick?Regards
[170 byte] By [Alexeia] at [2007-10-3 1:20:24]
# 1

I have a bean, FTPBean (and a mating FTPException class) that will work for you. It's got Javadoc comments so it should be pretty easy to figure out.

This code is OLD (I mean like 10 years old) and is based on another older piece of code (I believe it was named Linlyn or something like that) that was floating around for YEARS.

There's quite a bit of code so pasting here probably isn't a real good idea. I've gone ahead and placed a ZIP file with the two classes in it at http://www.lamatek.com/documents/FTP.zip. They're packaged in a net.foamtapes.beans package, feel free to do whatever with them, repackage, modify, whatever.

HTH.

linxpdaa at 2007-7-14 18:17:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...