Details
Description
If a user is limited to one connection, like:
ftpserver.user.anonymous.userpassword=
ftpserver.user.anonymous.homedirectory=./res/home
ftpserver.user.anonymous.enableflag=false
ftpserver.user.anonymous.writepermission=true
ftpserver.user.anonymous.maxloginnumber=1
ftpserver.user.anonymous.maxloginperip=1
ftpserver.user.anonymous.idletime=3000
ftpserver.user.anonymous.uploadrate=0
ftpserver.user.anonymous.downloadrate=0
on the ftplet, the metho onDisconnect is called when uploading a file, with the session.getUser() equals to null.
To repoduce, simply add an "clean" ftplet to a M3 instance, and on the onDIsconnect add:
System.out.println("onDisconnect");
System.out.println(session);
System.out.println(session.getUser());
upload a file, and on the console the third line should be null.
Regards,
GL