Autor Beitrag
wk_one
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 17


D7 Professional
BeitragVerfasst: Mi 18.06.03 14:27 
Hallo,

ich möchte die Dateien eines Verzeichnisses überwachen und die Zugriffe (eigentlich nur Lesezugriffe) protokollieren.
Hab keine Ahnun wo ich anfangen soll. :oops:

Kann mir jemand helfen?

Danke
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: Do 19.06.03 00:00 
Es gibt so ein Tool von Sysinternals... wie die das genau machen weis ich nicht, aber dieses Programm hat mir schon oft geholfen.

_________________
Michael
(principal certified lotus professional - developer)
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Do 19.06.03 08:40 
also ich hab bei www.torry.net schonmal kompos gesehen, die sowas können, wie die funzen ist mir allerdings ein rätzel !!!

_________________
In the beginning was the word.
And the word was content-type: text/plain.
AndyB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1173
Erhaltene Danke: 14


RAD Studio XE2
BeitragVerfasst: Do 19.06.03 10:04 
Ohne einen Kernelmode Treiber bleibt einem nur ein globaler API Hook.

_________________
Ist Zeit wirklich Geld?
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Do 19.06.03 10:22 
ja das hab ich auch gedacht. es gibt ja ein event das einem sagt WENN in der datei struktur der festplatte was getan wird aber nciht WO und WAS.

aber hier: www.torry.net/notification.htm sind kompos drauf die das können

_________________
In the beginning was the word.
And the word was content-type: text/plain.
wk_one Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 17


D7 Professional
BeitragVerfasst: Fr 20.06.03 08:25 
Titel: Danke euch allen
:D Also vorerst danke euch allen für die Hinweise. Werde mal ein wenig probieren.

Thanx
wk_one Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 17


D7 Professional
BeitragVerfasst: Fr 20.06.03 08:47 
FriFra hat folgendes geschrieben:
Es gibt so ein Tool von Sysinternals... wie die das genau machen weis ich nicht, aber dieses Programm hat mir schon oft geholfen.


Da ist ein Tool Dabei das kommt sehr nah ran an dem was ich benötige.
Leider werden nur komplette Laufwerke überwacht. Und auch nur die Lokalen.
Wenn man noch angeben könnte welches Verzeichnis in einem nicht lokalen Laufwerk (Netzlaufwerk) überwacht werden soll, und das Ding die Liste als Textdatei ausgeben würde wäre es perfekt. :P

Danke Dir für den Tip.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 20.06.03 10:30 
dann schu dir mal die kompos an !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
wk_one Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 17


D7 Professional
BeitragVerfasst: Fr 20.06.03 11:44 
Titel: die Kompos sind klasse
matze hat folgendes geschrieben:
dann schu dir mal die kompos an !


Danke für den Link.
Also ich habe die Komponente DirMonitor v.1.2 versucht und es hat auch alles klasse funktioniert. Leider ist mir erst jetzt aufgefallen, dass nur Lesezugriff keine Änderung an der Datei bewirkt.

Hier das Problem:
Ein Programm verwendet einige Dateien. Ich soll ein Tool besorgen oder erstellen, welches mitprotokolliert (in eine Textdatei) wie oft und evtl. wann eine dieser Dateien aufgerufen wurde.

Leider wird an einer vom Programm aufgerufenen Dateien nichts geändert. Keine Änderung an der Datei = keine Meldung.
Die Komponenten auf Torry.net fangen ja nur Aktionen bei Änderung ab. Es sei denn ich habe da was übersehen.

Tja, so wie es aussieht stehe ich vor einer Sackgasse. :(
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 20.06.03 13:16 
hmmm.... also die sysinternal tools lösen das glaub ich über einen systemtreiber oder so.... das in delphi zu lösen ist komplex

_________________
In the beginning was the word.
And the word was content-type: text/plain.
wk_one Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 17


D7 Professional
BeitragVerfasst: Fr 20.06.03 13:25 
Titel: Admin Foren?
Also selbst etwas zu schreiben ist nicht. Nicht mit meinen Kenntnissen zumindest.
Kennt jemand vielleicht ein Foum für System Admins? Dort könnte ich ja fragen ob da jemand Tools kennt die das können.

Vielen Dank nochmal für die Tips.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 20.06.03 13:37 
Kuck dir das mal an SHChangeNotify
Bei einem Zugriff muß sich das datum und die Zeit des letzten Zugriffsgeändert haben.