+ Reply to Thread
Results 1 to 3 of 3

Thread: auto update on directory change

  1. #1
    NTB1988
    Guest

    auto update on directory change

    20.000 Softwares download here
    Hi all!



    Recently I've started to develop a small program that needs to

    check for the arrival of files in a pre-determined directory.



    I could use a timer to check for changes in this directory every n seconds.



    Instead, what I'm really looking for is for some kind of notification mechanism from the OS. I want the application to register for notifications from the OS for any changes in the directory the application is "listening" for.



    Any ideas how I could implement this?



    Thanks in advance, regards,

    Bruno

  2. #2
    pcollier2986
    Guest

    I suggest you look at opening the approproate directory and use the FD with select. Reading the select man page will help you formulate the strategy and algorithm.

+ Reply to Thread

Similar Threads

  1. Gr8 Video Script (Auto update)
    By bsthanh in forum Scripts
    Replies: 1
    Last Post: 07-05-2009, 01:05 PM
  2. wordpress auto update and adsense
    By thongfood in forum AdSense
    Replies: 5
    Last Post: 05-03-2007, 12:02 PM
  3. Google News Auto Update
    By adventurous in forum Web Programming
    Replies: 5
    Last Post: 07-07-2006, 12:25 AM
  4. Replies: 14
    Last Post: 03-30-2006, 07:33 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts