Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CF_FileWriteText

Status
Not open for further replies.

dinoviapangea

Technical User
Joined
Apr 9, 2002
Messages
41
Location
US
I'm using CF_FileWriteText on a Solaris Server. The examples I see of CF_FileWriteText are on Windows, therefore it looks like this:

<CF_FileWriteText FILE=&quot;c:\temp\output.html&quot;>

Since I'm on a Solaris, mine looks like this;:

<CF_FileWriteText FILE=&quot;/incdb/main/notifications/#investigation_name#.txt&quot;>

(Of course I'm pulling the name from a query)

My problem is that I get an error that says the FILE Attribute is NOT Defined. Does this custom tag work on Solaris or is it just a Windows based tag?
 
Another user posted that it wasn't working.. why don't use CFFILE? If you need some help with the syntax, let me know...

Tony
 
CFFILE does not support tags such as <cfoutput> or other HTML format tags (<table>). According to the documentation on CF_FileWriteText, this tag is supposed to. However if you know of a way of formatting queries in CFFILE I would greatly appreciate it.

Thanks,
 
Would you mind showing me what you have to write to a file? I'll see what I can do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top