Hi all,
I'm trying this amazing staff these days, my demo works well in http way, but when I assign a ftp link to the param postURL, it stops working when I'm click the upload button and shows nothing in log window.
and I add the jUpload like this:
<applet
code="wjhk.jupload2.JUploadApplet"
name="JUpload"
archive="wjhk.jupload.jar,jakarta-commons-oro.jar,jakarta-commons-net.jar"
width="640"
height="300"
mayscript
alt="The java plugin must be installed.">
<param name="postURL" value="ftp://admin:admin@192.168.1.66:21/test">
Java 1.5 or higher plugin required.
</applet>
How to solve it?
thanks a lot..
teok
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks a lot for your replies, Etienne.
Now the applet works well either in http or ftp way.
The problem is that I forget to copy jakarta-commons-net.jar and jakarta-commons-oro.jar to the web page directory, maybe I read the README carelessly. :) .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I'm trying this amazing staff these days, my demo works well in http way, but when I assign a ftp link to the param postURL, it stops working when I'm click the upload button and shows nothing in log window.
and I add the jUpload like this:
<applet
code="wjhk.jupload2.JUploadApplet"
name="JUpload"
archive="wjhk.jupload.jar,jakarta-commons-oro.jar,jakarta-commons-net.jar"
width="640"
height="300"
mayscript
alt="The java plugin must be installed.">
<param name="postURL" value="ftp://admin:admin@192.168.1.66:21/test">
Java 1.5 or higher plugin required.
</applet>
How to solve it?
thanks a lot..
teok
Thanks a lot for your replies, Etienne.
Now the applet works well either in http or ftp way.
The problem is that I forget to copy jakarta-commons-net.jar and jakarta-commons-oro.jar to the web page directory, maybe I read the README carelessly. :) .
html code like this:
<applet
code="wjhk.jupload2.JUploadApplet"
name="JUpload"
archive="wjhk.jupload.jar,jakarta-commons-oro.jar,jakarta-commons-net.jar"
width="640"
height="300"
mayscript
alt="The java plugin must be installed.">
<param name="postURL" value="ftp:// admin # 192.168.1.66:21/test">
Java 1.5 or higher plugin required.
</applet>
Hi,
From your last message:
ftp:// admin # 192.168.1.66:21/test
is a malformed URL.
URL from your first message is correct, but the applet tag is badly written (you have the URL two times).
Etienne