Answered
Using a Forward Slash (/) in CFFILE Destination
Hi everyone,
I couldn't find this anywhere in the forums (at least not searching for "cffile forward slash", "cffile /", or "cffile destination") and hope I'm posting this in the correct place (please let me know if not). I need to use a forward slash (/) in the name of a file using cffile, but when I try to set destination = "c:\directory\file/name.txt" cf throws an exception and tells me that the system can't find the "c:\directory\file\" directory. Is there a way to froce ColdFusion to interpret the forward slash as part of the file name instead of a directory structure character? By the way I'm using ColdFusion 6.1 Standard Edition on a Windows box (obviously).
I couldn't find this anywhere in the forums (at least not searching for "cffile forward slash", "cffile /", or "cffile destination") and hope I'm posting this in the correct place (please let me know if not). I need to use a forward slash (/) in the name of a file using cffile, but when I try to set destination = "c:\directory\file/name.txt" cf throws an exception and tells me that the system can't find the "c:\directory\file\" directory. Is there a way to froce ColdFusion to interpret the forward slash as part of the file name instead of a directory structure character? By the way I'm using ColdFusion 6.1 Standard Edition on a Windows box (obviously).
