ftp connection with Java applet

Hi,

We are getting following error while uploading via Java applet.

Stack trace :: [ it.sauronsoftware.ftp4j.FTPException ] Can't open data connection.it.sauronsoftware.ftp4j.FTPException

at it.sauronsoftware.ftp4j.FTPClient.upload(FTPClient.java:2633)

at it.sauronsoftware.ftp4j.FTPClient.upload(FTPClient.java:2514)

at it.sauronsoftware.ftp4j.FTPClient.upload(FTPClient.java:2385)

at FtpUploader.Upload(FtpUploader.java:32)

at FtpUploader.Ftp(FtpUploader.java:45)

at abc.abchelper(abchelper.java:134)

at  abc.dosometasks(abchelper.java:45)

at abc.dosometasks(abc.java:266)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at sun.plugin.javascript.JSInvoke.invoke(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)

at sun.plugin2.liveconnect.JavaClass$MethodInfo.invoke(Unknown Source)

at sun.plugin2.liveconnect.JavaClass$MemberBundle.invoke(Unknown Source)

at sun.plugin2.liveconnect.JavaClass.invoke0(Unknown Source)

at sun.plugin2.liveconnect.JavaClass.invoke(Unknown Source)

at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$DefaultInvocationDelegate.invoke(Unknown Source)

at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo.doObjectOp(Unknown Source)

at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)



Username, password and ftp hostname seems to be correct.

It seems it is trying to open different ports. Why it is using different ports instead on just 21?



Thanks,

Ram

Please contact support and include your license key id.