fam
[Top] [All Lists]

[fam] Monitoring more directories

To: fam@xxxxxxxxxxx
Subject: [fam] Monitoring more directories
From: Leopoldo Centore <centore.leo@xxxxxxxxxxxx>
Date: 07 Aug 2002 23:57:21 +0200
Sender: owner-fam@xxxxxxxxxxx
Hi, 

I'm a beginner in the use of fam and I have a very difficult problem to
resolve. 

I have written a code that use fam to check that one or more files are
created in some directories.   

Since the directories are more than one, I insert FAMMonitorDirectory2
function in a loop cycle.

All works fine and  when a new file has created in a directory a signal
is emitted ("FAMCreated"). 

Yet, if i try to read "filename" in a struct "FAMEvent" (ev.filename), I
have only the name of the file and not the absolute path ... 
 
so I don't know in which directories it has been created. 

Please, can someone help me ?. 

Thanks



--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>