problem with cz.dhl.ftp.Ftp.class
843807Jul 5 2007 — edited Jul 5 2007In order to bypass a nasty HTTP upload problem at my cheap hoster, I want to use a java ftp upload control. I've stumbled upon http://jvftp.sourceforge.net/ (which is LGPL-equived) but can't get it up and running.
I know a fair bit about js & ajax, but nexttonothing about java..
Hope you can help a bit..
First, i'm confused about which version to use. There's a plain jvFtp.jar, and a jvFtp-AWT.jar and a jvftplib.jar. The documentation (http://jvftp.sourceforge.net/docs/api/) isnt clear on what to use when, and how, from a browser perspective.
The current error i'm stuck at is
exception: java.lang.ClassCastException: dz.dhl.ftp.Ftp
my applet code reads
<applet code='cz/dhl/ftp/Ftp.class' archive='<?=MB_CODE_URL?>lib/jvftp.jar' codebase='.' style='width:400px; height:250px;'> </applet>
If you need any more info i'm happy to provide it..