0

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

Shane Madden
  • 114,520
  • 13
  • 181
  • 251
Matthew Iselin
  • 717
  • 1
  • 8
  • 20

1 Answers1

1

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

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84