Pierre-Luc,

Have you tried throwing an exception form your onUploadEnd() function?

You can throw and FtpException the file upload will error out, and (i
believe) the message will eventually show up in the client session.

Should be fairly easy to try and see if that's working for you.


On Wed, Mar 9, 2011 at 6:40 AM, Pierre-Luc Pineault <[email protected]>wrote:

>
> Hello
> Sorry for the bas english that follows
> I use my own DefaultFtplet and i have redefine onUploadEnd(). In this
> method, i parse a file and if there is an error, the file is moved into an
> error file folder. This works perfectly but now, i want to advise the client
> that an error has occurred with his file (Incomplete, corrupted, ...).
> How can i proceed ?
> P-L

Reply via email to