[CentOS] How to know when files have finished FTPing?

Bart Schaefer barton.schaefer at gmail.com
Sun Nov 11 23:45:57 UTC 2007


On Nov 11, 2007 3:34 PM, Barry Brimer <lists at brimer.org> wrote:
> If you use proftpd it will upload the file under .in.filename and once the
> transfer has completed, the file is renamed to filename

And of course you can ask the client to do this manually if the FTP
server doesn't support doing it automatically.  Upload to one file
name, then rename to another, and only process that second name with
the cron job.

You can even have the cron job end by renaming to a third name, so
that there's a way to verify that processing was performed correctly.



More information about the CentOS mailing list