Hi Jacob, thanks. (and thanks all the others, who replied !)
When I want a "?" to escape as well would it be like:

<cfset noSlashes = ReReplace(cfhttp.FileContent,"\\|\/|\?","","all")>

?? Uwe

MJ> I get wanting to remove the "/", but you also want all the back slashes 
from your path?  Here's how to remove the forward slashes:
MJ> <cfset noForwards = Replace(cfhttp.FileContent,"/","","all")>

MJ> If you what to remove both at the same time:
MJ> <cfset noSlashes = ReReplace(cfhttp.FileContent,"\\|\/","","all")>

>> -----Original Message-----
>> From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] 
>> Sent: Monday, May 08, 2006 9:04 AM
>> To: CF-Talk
>> Subject: supression of / and/or \
>> 
>> Hi list,
>> I want to supress
>> a "/" or a "\" in an cfhttp.FileContent output like in:
>> 
>> --------------------------------------
>> Error attempting to write data to target file 
>> 'x:\test\customer\cfdocs\sem\1\ljslkjl, H. / Götter Herrscher 
>> Inschriften.htm'.
>> -------------------------------------
>> the "/" in
>> "H. / Götter Herrscher Inschriften.htm"
>> is driving me nuts.

MJ> This transmission may contain information that is privileged, confidential 
and/or exempt from
MJ> disclosure under applicable law. If you are not the intended recipient, you 
are hereby notified
MJ> that any disclosure, copying, distribution, or use of the information 
contained herein
MJ> (including any reliance thereon) is STRICTLY PROHIBITED. If you received 
this transmission in
MJ> error, please immediately contact the sender and destroy the material in 
its entirety, whether
MJ> in electronic or hard copy format. Thank you. A1.



MJ> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239815
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to