proftpd: copying uploaded files to an additional directory

Posted by Matthew Iselin on Server Fault See other posts from Server Fault or by Matthew Iselin
Published on 2010-04-10T03:38:22Z Indexed on 2010/04/10 3:43 UTC
Read the original article Hit count: 487

Filed under:
|
|

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)?

© Server Fault or respective owner

Related posts about proftpd

Related posts about synchronise