Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

problem with cz.dhl.ftp.Ftp.class

843807Jul 5 2007 — edited Jul 5 2007
In 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..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2007
Added on Jul 5 2007
1 comment
439 views