Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. monitoring file system

monitoring file system

Scheduled Pinned Locked Moved C / C++ / MFC
questiondatabasehelp
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    ValentinR
    wrote on last edited by
    #1

    hi there does anyone know how can i log the activity of the file system? i need to know when a file opens and store the name in a database thank in advance for your help

    X D 2 Replies Last reply
    0
    • V ValentinR

      hi there does anyone know how can i log the activity of the file system? i need to know when a file opens and store the name in a database thank in advance for your help

      X Offline
      X Offline
      xxhimanshu
      wrote on last edited by
      #2

      see links.. http://www.codeproject.com/file/ i hope you see what you want there is lots of stuff like the one you are looking for. I think there is an article about how to write log files? hope it does the work.. cheers.. :):) Himanshu

      1 Reply Last reply
      0
      • V ValentinR

        hi there does anyone know how can i log the activity of the file system? i need to know when a file opens and store the name in a database thank in advance for your help

        D Offline
        D Offline
        Dominik Reichl
        wrote on last edited by
        #3

        Perhaps you should have a look at FileMon by http://www.sysinternals.com[^] Source code is available. :-D -Dominik

        V 1 Reply Last reply
        0
        • D Dominik Reichl

          Perhaps you should have a look at FileMon by http://www.sysinternals.com[^] Source code is available. :-D -Dominik

          V Offline
          V Offline
          ValentinR
          wrote on last edited by
          #4

          thanks Dominik i found this application and I look at it before posting the request the problem with that ona is that i receive a lot of events on file system wich is not needed where can i find some explanation about 'request' column from the GUI ListView? i only need some events of create file, delete file, modify file not such like: FSCTL_IS_VOLUME_MOUNTED thanks in advance for your help

          A 1 Reply Last reply
          0
          • V ValentinR

            thanks Dominik i found this application and I look at it before posting the request the problem with that ona is that i receive a lot of events on file system wich is not needed where can i find some explanation about 'request' column from the GUI ListView? i only need some events of create file, delete file, modify file not such like: FSCTL_IS_VOLUME_MOUNTED thanks in advance for your help

            A Offline
            A Offline
            AlexO
            wrote on last edited by
            #5

            MSDN key words : "Change notification", FindFirstChangeNotification, FindNextChangeNotification MSDN article : "Monitoring Changes in a Directory or Directory Tree"

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups