ftp connection with Java applet

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
ram_uba
Posts: 1
Joined: Mon Feb 13, 2012 8:50 pm

ftp connection with Java applet

Post by ram_uba » Mon Feb 13, 2012 8:55 pm

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

Code: Select all


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
Last edited by ram_uba on Mon Feb 13, 2012 8:58 pm, edited 1 time in total.

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: ftp connection with Java applet

Post by mb » Mon Feb 13, 2012 11:08 pm

Please contact support and include your license key id.

Post Reply