Re: Detecting interrupted upload

2010-03-19 Thread David Latorre
You should check the reply code as Niklas suggested but, besides this, we usually suggest that the client rename the file after successfully uploading it - ideally it would also check the MD5 sum of the transferred file prior to this name change. 2010/3/18 Niklas Gustavsson

Re: Detecting interrupted upload

2010-03-19 Thread Sai Pullabhotla
d'entreprise et d'affaires électroniques (450) 681.1681 ext: 279 Toll free : (877)561.1681 From: David Latorre [dvl...@gmail.com] Sent: Friday, March 19, 2010 4:35 AM To: ftpserver-users@mina.apache.org Subject: Re: Detecting interrupted upload You

Re: Detecting interrupted upload

2010-03-19 Thread Niklas Gustavsson
On Fri, Mar 19, 2010 at 2:36 PM, Sébastien Roy s...@okiok.com wrote: I'm taking good notes of what you are proposing. I don't have control on the FTP client side so it's hard for me to ask the client to rename the file after a successful upload. I also already verify the REPLY code and it

Detecting interrupted upload

2010-03-18 Thread Sébastien Roy
Hi, I've been playing around with the FTP server for a while and I really enjoy the experience. The architecture is clean and very easily extensible. Recently, for the first time, I end up not being able to accomplish something. I was looking for a way to detect FTP uploads that would not

Re: Detecting interrupted upload

2010-03-18 Thread Niklas Gustavsson
On Thu, Mar 18, 2010 at 8:04 PM, Sébastien Roy s...@okiok.com wrote: Recently, for the first time, I end up not being able to accomplish something. I was looking for a way to detect FTP uploads that would not complete normally (client close connection, network interruption, etc ...). My