1 Reply Latest reply on Apr 18, 2011 7:28 PM by Lee Burrows

    FileReference.save() loses file extension on Windows

    Codeflayer Level 1

      Hi all,


      I've run into an issue that I'm hoping someone has a workaround for. I'm using FileReference.save in a few places in my project. We ran into a bug today where the save operation loses the file extension under certain conditions. Those conditions are:


      The user is running on Windows and has hide file extensions turned on (the default)

      The user modifies the file name before saving.


      If the user has file extensions turned on or just saves without modifying the file name everything works fine.


      Does anyone know a workaround or fix for this problem?


      Thanks in advance!