atom feed9 messages in org.apache.mina.ftpserver-usersModifying STOR response on upload
FromSent OnAttachments
Niklas TherningJan 12, 2009 7:27 am 
David LatorreJan 12, 2009 9:07 am 
Niklas GustavssonJan 12, 2009 9:15 am 
Niklas TherningJan 12, 2009 11:14 am 
Niklas GustavssonJan 12, 2009 11:35 am 
Niklas TherningJan 12, 2009 12:42 pm 
Niklas GustavssonJan 12, 2009 1:23 pm 
DanJan 12, 2009 2:37 pm 
David LatorreJan 13, 2009 1:59 am 
Subject:Modifying STOR response on upload
From:Niklas Therning (nik@trillian.se)
Date:Jan 12, 2009 7:27:19 am
List:org.apache.mina.ftpserver-users

Hi,

I'm trying to intercept file uploads and send the uploaded files to a backend server which does some processing. If the processing fails I'd like to return a negative response to the STOR command sent by the client. Is that possible? I don't think I can do this in onUploadEnd in an Ftplet since when that method is executed the positive response has already been written to the client. Any ideas?

Regards, Niklas