Login  Register

Re: Directory watchdog

Posted by Gabriel Landini on Dec 15, 2006; 9:50pm
URL: http://imagej.273.s1.nabble.com/Canny-Detector-tp3700799p3700806.html

On 12/15/06, Frederic V. Hessman wrote:
> > Unfortunately, most ftp programs give the right names to files before
> > they are finished being transfered, which results in attempts to load
> > incomplete files.   Even if one makes the watcher wait a long time
> > before looking, there's always the problem of hitting a transfer at
> > the wrong moment.  Any ideas other than using rsync (which you can
> > tell to use temp files)?

A suggestion (not sure how useful it could be):
If the images are taken always with the same camera, then one could save them
uncompresed (so they are all the same size). You can then check the file size
in the destination folder and when they reach the expected size, then they
have been transferred.

I hpe it helps

Gabriel