cffile upload unix vs windows

Not just a ColdBox issue…

When working in a development environment (windows) and a testing, staging, production environment (unix) what is the best way to keep track of the path (/ vs ) and using the mode=664 ?

How do you do it best practice or whatever.

In java / is universal. So stick to /

Agreed.

But if you did need to access it:

fileSeparator = createObject("java","java.io.File").separator;