>- see footer for list info -<
Convert it to a string before trying to search within it?

Ade

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of lee
Sent: 07 March 2005 14:31
To: Coldfusion Development
Subject: RE: [CF-Dev] Stripping a File (try again)


>- see footer for list info -<
The information held in the MMSData field of the XML held in inbound_raw.txt
is held in memory exactly as it appears.

I then run the following:

<CFFILE action="Write" file="PathToFile" output="#ToBinary(MMSData)#">

This gives me the file '2005_03_06-03_55_MMSData_binary_converted.txt' which
I dump just so I know what the data looks like at various stages.

I set a variable such as MMSData_Binary by using <cfset MMSData_Binary =
#ToBinary(MMSData)#>

I then try to read this file using a simple FIND command such as <cfset
boundary_start = #FIND("boundary=",MMSData_Binary)#>

at which point I get the error.



---------- Original Message ----------------------------------
From: "Duncan Cumming" <[EMAIL PROTECTED]>
Reply-To: Coldfusion Development <[email protected]>
Date:  Mon, 07 Mar 2005 14:04:29 +0000

>>- see footer for list info -<
>what's the code you're using to try and read the file?
>
>
>Duncan Cumming
>New Media Developer
>Customer Relations Management / Education
>Fife Council
>700 4105 / 01592 414105
>
>>>> "lee" <[EMAIL PROTECTED]> 07/03/2005 13:01:10 >>>
>>- see footer for list info -<
>Files can be found at
>
>http://www.getitmobile.com/testscripts/2005_03_06-03_55_MMSData_binary_conv
erted.txt
>
>
>and
>
>http://www.getitmobile.com/testscripts/inbound_raw.txt
>
>Theses are the full versions of the files.
>_______________________________________________
>
>For details on ALL mailing lists and for joining or leaving lists, go
>to http://list.cfdeveloper.co.uk/mailman/listinfo
>
>--
>CFDeveloper Sponsors:-
>>- Hosting provided by www.cfmxhosting.co.uk -<
>>- Forum provided by www.fusetalk.com -<
>>- DHTML Menus provided by www.APYCOM.com -<
>>- Lists hosted by www.Gradwell.com -<
>>- CFdeveloper is run by Russ Michaels, feel free to volunteer your
>help -<
>
>
>**********************************************************************
>This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed
and should not be disclosed to any other party.
>If you have received this email in error please notify your system manager
and the sender of this message.
>
>This email message has been swept for the presence of computer viruses but
no guarantee is given that this e-mail message and any attachments are free
from viruses.
>
>Fife Council
>Tel: +44 (0) 1592 414141
>**********************************************************************
>
>_______________________________________________
>
>For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
>
>--
>CFDeveloper Sponsors:-
>>- Hosting provided by www.cfmxhosting.co.uk -<
>>- Forum provided by www.fusetalk.com -<
>>- DHTML Menus provided by www.APYCOM.com -<
>>- Lists hosted by www.Gradwell.com -<
>>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 04/03/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 04/03/2005

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to