This code ran just dandy on my CF6.1/Apache2/RedHat 8.0 box: <cfset filename = "#getDirectoryFromPath(getCurrentTemplatePath())#/test space.tmp" /> <cffile action="write" file="#filename#" mode="664" output="hello, world" /> <cffile action="delete" file="#filename#" />
cheers, barneyb On 9/26/05, Daniel Mackey <[EMAIL PROTECTED]> wrote: > Hi Barney, > > That was just an example. > > Lets say I have user files somewhere that got there other than through > CF and then I have to work with them. I cant do anything with them if > there are 2 sequential spaces. > > If you have time, you may try it on your box for me. Create a file in a > folder and add 2 spaces in the middle of it using Windows Explorer and > do a simple CFFILE action="delete" or rename and see the problem. > > Dan. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219312 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