I am trying to a remote file explorer using FTP for an internal
purpose of a project.I am using apache commons net for achieving
it.Everything working properly except connection time out.After a
certain time interval the connection terminates and getting the
following error.
org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response
421 received. Server closed connection.
I tried to set connetionTimeOut externally , but that also not
working.
Anyone gone through such a situation?? If so, please feel free to sort
out my problem
Thanks & Regards,
Sumesh Mohan
regards,
Srinivas
--
To unsubscribe, reply using "remove me" as the subject.
Check whether the process taking more than Idle Timeout setting in
web.xml file.
Best is do the operation and the moment you get Error check the Event
Error Log in your Operating System.
There you will get much more reason. I am sure some proxies might have
been disabled or some Firewall might block the connection while you
make. Since FTP requires free from all these. This is configuration
related 100% sure.
The file transactions will work properly if there is no idle time more
than 5 mins.
If there is any proxy configuration , it should not even able to
connect to the server.
Since the program connects, displays file and able upload and
download , i dont think it is something related to configuration
stuffs
I tried to the same server using filezilla . if there is idle time
more than 5 mins, it also disconnects.
i would like to know is there any way to handle the connection time
out.
tcpkill -i eth0 port 21
pls check it,