Hi,
After checking out the newest version of Apache FTP server and embedding it
to my application, I noticed this strange behaviour :
- I start the FTP server
- A client begins to download a file from it
- I stop the download to the client with the following code :
Set<FtpIoSession> sessions = getAllSessions(ftpServer);
for (final FtpIoSession session : sessions)
{
if(session.getUser().getName().equals(myUser))
{
session.close();
}
}
- I stop the FTP server : ftpServer.stop();
NEVERTHELESS, I noticed that the client continues to get the file and the
download ends successfully!
any idea ?