PHP Classes

Poll a Folder for new file

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  Poll a Folder for new file  
Subject:Poll a Folder for new file
Summary:Script that polls a folder for a new file-or is triggered by eve
Messages:3
Author:Phil
Date:2019-06-04 09:53:32
Update:2019-06-04 12:46:01
 

  1. Poll a Folder for new file   Reply   Report abuse  
Picture of Phil Phil - 2019-06-04 12:46:01
Hi All - hope someone has done this before.

I need to create a PHP script that detects the presence of a new file appearing into a folder, and process it.

This HAS to be supported by Windows IIS (Have looked at FAM for Linux but can't use it).

I could do a loop with some sleep that checks the directory every x seconds - but this has been discounted by the client as either a) too resource hungry or b) not quick enough if there is a delay.

Add ons, extensions or even external 3rd party tools would all be acceptable.

Any ideas?

Phil

There are 2 replies in this thread, which are not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.