Jump to content


Photo

ftp connection with Java applet


  • Please log in to reply
1 reply to this topic

#1 ram_uba

ram_uba
  • Members
  • 1 posts

Posted 13 February 2012 - 08: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=425, message= Can't open data connection.]
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

Edited by ram_uba, 13 February 2012 - 08:58 PM.


#2 mb

mb

    Developer

  • Administrators
  • 11521 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 13 February 2012 - 11:08 PM

Please contact support and include your license key id.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users