On Wed, 2010-03-03 at 17:32 -0500, Dan wrote:
> That isn't exactly what we need since our clients aren't expecting any delay
> and won't know to look for a .ok file (or other file trick). Also, right
> after the upload they might want to download but of course the processing is
> still running.
>
Original Message-
From: Vinicius Carvalho [mailto:vinicius.carva...@sambatech.com.br]
Sent: March-03-10 5:27 PM
To: ftpserver-users@mina.apache.org
Subject: Re: Blocking during/after upload
We have the same scenario here. What we do is delegate to a ExecutorService
the execution (pardon me) of t
We have the same scenario here. What we do is delegate to a ExecutorService
the execution (pardon me) of the given task. Since it's an asynchronous job,
you can reply to the client and process it on a separate thread. The client
then gets the response from the ftp, and since the execution is still
We would like to perform some file processing once a file has been uploaded
but it seems that if we use an Ftplet and implement onUploadEnd() then that
won't block (i.e. the client will think the file has been successfully
uploaded)
We need something like:
1. Client uploads a file
2. File upload