hi, another update from my problem: $this->set(array( 'id' => $upload['Upload']['id'], *'name' => substr($filename, 0, strrpos($filename, '.') +10),* 'path' => APP.'uploads'.DS, 'download' => true, ));
After i modified the array for name, it seems that in latest IE and Firefox are working perfectly but in Google Chrome still have problem. For example, i download file name as picture.jpg, in IE and Firefox, it perfectly download the file but in Chrome, it will download file picture.jpg- (with dash after file extension). It caused the file unable to open since the extension is not valid. Any comment? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
