Monitoring Directory Changes

Changes to a directory can be a nightmare for administrators who need to know exactly what a directory contains. Suppose, for example, you have users who need to add and remove files from an FTP server’s public directory tree. If each directory in the FTP site contains an index file enumerating which files are available, or if there are HTML pages on your Web server that provide links to each file in the directory, they need to be updated whenever someone changes the contents of the FTP directory tree.

There are a few ways to manage this:

  • You could force all users to go through you or your staff when they add or remove files so that your staff can update these pages manually.

  • You could have a process scheduled every ...

Get Win32 Perl Programming: The Standard Extensions, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.