Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using proftpd, is there a good way to automatically synchronise uploaded files from the upload directory to some other directory?

Our layout ends up a bit like this:

~/ftp/some/path <-- Files are uploaded here
~/some/other/path/not/accessible/via/ftp <-- But also need to be here after uploading

Is there a good way to do this automatically, or do I have to tell anyone uploading files to upload twice, and open up an additional directory (containing data we cannot redistribute)?

share|improve this question
up vote 1 down vote accepted

A tool such as incron can act upon files once they have finished uploading, including copying them to another location.

share|improve this answer
Perfect - exactly what I needed. Thanks :) – Matthew Iselin Apr 10 '10 at 4:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.