Hi,
I am getting Accept timed out exception while uploading a file.
The exception occurs after the ftp connection is successful.
Following is the stack trace:
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:358)
at java.net.ServerSocket.implAccept(ServerSocket.java:470)
at java.net.ServerSocket.accept(ServerSocket.java:438)
at com.enterprisedt.net.ftp.internal.FTPActiveDataSocket.acceptConnection(FTPActiveDataSocket.java:185)
at com.enterprisedt.net.ftp.internal.FTPActiveDataSocket.getOutputStream(FTPActiveDataSocket.java:201)
at com.enterprisedt.net.ftp.FTPClient.getOutputStream(FTPClient.java:3101)
at com.enterprisedt.net.ftp.FTPClient.putData(FTPClient.java:2692)
at com.enterprisedt.net.ftp.FTPClient.putStream(FTPClient.java:2428)
at com.enterprisedt.net.ftp.FTPClient.put(FTPClient.java:2396)
at com.enterprisedt.net.ftp.FileTransferClient.uploadFile(FileTransferClient.java:785)
at com.enterprisedt.net.ftp.FileTransferClient.uploadFile(FileTransferClient.java:759)