limitations....
TIA,
Patrick Whittingham
United Space Alliance
AES - Data Warehouse
-----Original Message-----
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 7:09 AM
To: CF-Talk
Subject: RE: OT : doing things without cffile
Why not write a Java object, and call CFOBJECT on it?
public class MyCFFile {
public MyCFFile(){}
public String readTXT(String path){
StringBuffer buff=new StringBuffer();
java.io.BufferedReader r=new java.io.BufferedReader(new
java.io.InputStreamReader(new java.io.FileInputStream(new
java.io.File(path))));
String s=null;
while ((s=r.readLine())!=null) buff.append(s);
return buff.toString();
}
do the same for writing etc...
}
Just an idea, or did they disable cfobject too?
-dov
_____
From: Whittingham, P [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 7:03 AM
To: CF-Talk
Subject: OT : doing things without cffile
Hi All,
One of our cfmx app servers, we turned off cffile and cfdirectory
because of security reasons. But, I need to be able to read files and
del/update files
on the box. Anyone have a different solution. BTW, wscript is turned off
also....:(
This is a W2K server, can WMI work or something else.....
TIA,
Patrick Whittingham
United Space Alliance
AES - Data Warehouse
_____
_____
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

