FTP Connection Problem
843790Dec 27 2006 — edited Dec 28 2006Hi
I want to implement FTP to upload a file onto FTP Server.
I am using Jakarta Commons Net and Golden FTP Server for testing purpose.
I am able to connect to the server but soon it is throwing an exception which i am mentioning below.
Connected to 10.112.75.57.
org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:290)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:444)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:472)
at org.apache.commons.net.ftp.FTP.cwd(FTP.java:698)
at org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient
.java:633)
at getDataFiles.getDataFiles(getDataFiles.java:39)
at getDataFiles.main(getDataFiles.java:12)
I have tried out in several ways and the firewall for my system is in OFF.
Could anyone get me the solution for this problem in detail asap.
Thanks in advance,
Vijay