>- see footer for list info -<
Morning All, As some of you may remember, I was having trouble receiving information from an mobile operator when they were sending me MMS messages that had been received by a number.
Well, finally managed to get access to the data they were sending using the GetHTTPRequestData() function. The next thing I have to do is strip out just the information that is held in the MMS data field. This is not a problem. When I have this information, I have to use ToBinary(MMSData) to make it into a file as attached in '2005_03_06-03_55_MMSData_binary_converted.txt' (I have reduced some of the data out so make it small enough to send to the list). This is where the problem lies. I need to get the string which is held in the 3rd line held in the 'Boundary' proporty but as soon as I use FIND etc to look for it, the page errors out saying ByteArray cannot be converted to simple sting (or words to that effect). What I am trying to do is actually get just the data which is for the image part of the message, i.e. that blob of text which starts under Content-Type: image/jpeg; name=14022005.jpg Content-Transfer-Encoding: binary Content-Location: 14022005.jpg The text file attached also has crlf converted for some reason and I am not sure if this is just because of it being displayed in notepad or not? Any idea how I can extract this data from the file which then needs to be saved as the filename given in the 'Content-Location: ' line above? Many Thanks, Lee
_______________________________________________ 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 -<
