Hello!

I load a text/plain document via cfHTTP and the size is about one 
MegaByte.

Now I have the following problem:

<cfset a_str_content = cfhttp.FileContent>
<cfset a_str_content = ReplaceNoCase(a_str_content, "<!-- RESULT ITEM END -
-
>", chr(9), "ALL")>

If the http content is smaller (f.e. only 300kb) this works well, but if 
the file is bigger I receive the following error message:

"java.lang.StringIndexOutOfBoundsException: String index out of range: -
3"

Is this a bug or limitation? Any workarounds?

Updater 2 is installed.

Best regards,

Peter 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to