Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.