0 Replies Latest reply on Jul 13, 2010 5:48 AM by zhuxuchen

    help, losing extension when use FileReference download

    zhuxuchen

      Hi, I need user download JPEG file from my app, however, when user change the file name the saved file will be downloaded without extension.

       

      For Example: I am using FileReference.download() and set the default filename as "demoPic.jpg" and user's windows system setting control file extension not being shown. So when the dialog opens a download window, only "demoPic" shown as the filename. If user saved file without changing filename, the saved file will be OK. But if user change file name, the download file will be saved without extension.

       

      Any ideas what's up?

       

      thanks

      xuchen