Ok ..
So I assume that the variable $engine_temp is global to JFFNMS
Is it also safe to assume that this variable points to
'/jffnms/engine/temp' ?
Craig ... to my last reply.
I verified my statement about the .dat file extensions.
I tried using the same uniqid string from lib/api.hosts.inc.php to
generate the file and using the same script
it bombed on creating the file. I tried changinig it to .TXT and still
it would not write to it.
Only when generating a temp file using tempnam(path, prefix) did it
actually write data to the file.
So. That part does work. All I need to know is which sub-directory
jffnms expects to find a config file and
does it expect a file with .DAT or will it grab any file? If it does
expect .DAT then I can simply add a shell_exec()
command to move and rename the file after the process completes.
On Fri, 2007-07-06 at 08:32 +1000, Craig Small wrote:
> On Thu, Jul 05, 2007 at 02:25:53PM -0400, Jeffrey Singleton wrote:
> > Hold off on answering my questions ... I think I got it.
> >
> > Here is where I am at now:
> > $tmpfname = tempnam("/jffnms/tftpd", "config");
> > chmod("$tmpfname", 0777);
>
> JFFNMS should be making the files.
>
> > 114:22:45 : H 2 : 192.168.19.19 : fdry_cc : Error Storing the file
> > in DB (15029.47 msec) < -- Working on this error now!!!
> Yes, because you put the file in the wrong spot.
>
--
Jeffrey Singleton
Network Systems Administrator (Trusted Source)
Secure Computing Corporation
48000 North Point Parkway
Alpharetta, GA 30022
C: +1 770-820-2909
O: +1 678-904-3694
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users