Server closed connection.

Hi All,

i have a code which connects with a ftp location to read a file.

But recently I am recieving this error :

org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received. Server closed connection.

can anyone please help.

regards

[292 byte] By [anshumanupadhyay1311a] at [2007-11-27 11:46:22]
# 1

Err, it means the server closed the connection, dunnit, so you have to open a new one. I would retry after an increasing sleep interval and with a maximum number of retries.

ejpa at 2007-7-29 18:07:11 > top of Java-index,Core,Core APIs...