0 Replies Latest reply on Sep 27, 2010 5:35 PM by zenocon

    File.copyTo( ) and illegal characters

    zenocon

      How does the Air SDK handle the myriad of different illegal character restrictions for file / directory names on Mac/Linux/Win and the different filesystems.

       

      For example:

       

      http://www.portfoliofaq.com/pfaq/FAQ00352.htm

       

      I'm building an app that allows a user to rename files and then copy/move them, and I'm trying to determine how exhaustive I need to be in building RegEx validation for all the different variations here.  I have seen the Air SDK replace an illegal character (e.g. the colon : ) with a File.separator character.  Is this how it treats all illegal characters?

       

      There's nothing in the asdoc about this, so I'm hoping someone here can provide some insight.

       

      Regards,

      Davis