I have a text file that is a WDDX packet. I want to read this packet into
CF variables. How is this done?
This is what I have tried so far.
<cfdirectory action="LIST"
directory="D:\InetPub\wwwroot\800\ORM\attachments\direct"
name="msg_attch"
filter="*.txt">
<cfloop query="msg_attch">
<cfoutput>
<!--- read the file to get the order packet --->
<cffile action="read"
file="D:\InetPub\wwwroot\800\ORM\attachments\direct\#name#"
variable="order">
</cfoutput>
<cfwddx action="WDDX2CFML" input="#order#" output="transformed">
<cfoutput query="transformed">
#fieldNames#
</cfoutput>
</cfloop>
I haven't done this before so any help would be appreciated. I can only
find examples of this wherein you are implicitly posting a packet. I want
to read a file and those examples are not to helpful in this case.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.