You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by "Loureiro, Gil" <gi...@logica.com> on 2009/05/08 11:12:00 UTC

Exception in upload file

Hi all,

 

To avoid session hang, what should I do when an exception is raised in the ftplet upload method?

 

Regards,

Cumprimentos,

Loureiro, Gil

Document Engineering Manager

Document Services

___________________________________________

 

Logica - Releasing your potential

Rua Particular da EDP (à rua cidade Goa nº11), 2685 Sacavém

Portugal

Mobile: +351 93 741 8888

Fax: +351 21 001 8251

E: gil.loureiro@logica.com <ma...@logica.com> 

http://www.logica.com/portugal <http://www.logica.com/portugal> 

 



Please help Logica to respect the environment by not printing this email  / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei die Umwelt zu schuetzen  /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


Re: Exception in upload file

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Fri, May 8, 2009 at 11:12 AM, Loureiro, Gil <gi...@logica.com> wrote:
> To avoid session hang, what should I do when an exception is raised in the ftplet upload method?

You should return an appropriate reply to the client (a 5XX reply) and
the Ftplet should return SKIP to the server. Would that work for you?

/niklas