• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem uploading PDF Files

#29
[eluser]LTFMIKE[/eluser]
Hi Everybody. I would like also to share my problem here.I tried to Upload file using uploading class and it's works quite fine.Unfortunately, if I upload file with particular filename like for exemple "1_file_rue_hôpital.pdf"
it will be set correctly in database like : "1_file_rue_hôpital.pdf" but
filename of the file itself is not correctly saved on the server.I obtain file like :
"rue_hôpital.pdf"

I search many topic to find a solution but I haven't found something helpful yet.

Hope you guys help me..;

here is my upload controller configuration :
Code:
$filePath=$this->createArboGen($arbo);
        $config['upload_path']         = $filePath;
        $config['allowed_types']     = 'pdf|xls|doc';
        $config['max_width']          = '1024';
        $config['max_height']          = '768';
        $config['overwrite']        = 'TRUE';
        $config['remove_spaces']    = 'TRUE';
        $data['erreur']                = $this->erreur;        
        
        $this->setFile($dataFile,'',$fileTypeId);
        $this->insertFile();
        $config['file_name']        = $this->file_id ."_";


Messages In This Thread
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:21 AM
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:33 AM
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:41 AM
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:56 AM
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:59 AM
Problem uploading PDF Files - by El Forum - 04-10-2008, 10:41 PM
Problem uploading PDF Files - by El Forum - 05-13-2008, 11:00 AM
Problem uploading PDF Files - by El Forum - 07-15-2008, 09:53 AM
Problem uploading PDF Files - by El Forum - 08-14-2008, 10:59 PM
Problem uploading PDF Files - by El Forum - 08-21-2008, 11:29 AM
Problem uploading PDF Files - by El Forum - 04-21-2009, 08:17 AM
Problem uploading PDF Files - by El Forum - 08-11-2009, 10:40 AM
Problem uploading PDF Files - by El Forum - 10-10-2009, 08:28 PM
Problem uploading PDF Files - by El Forum - 10-10-2009, 08:33 PM
Problem uploading PDF Files - by El Forum - 10-12-2009, 01:19 PM
Problem uploading PDF Files - by El Forum - 10-12-2009, 02:08 PM
Problem uploading PDF Files - by El Forum - 11-13-2009, 05:07 PM
Problem uploading PDF Files - by El Forum - 12-09-2009, 03:32 AM
Problem uploading PDF Files - by El Forum - 01-08-2010, 06:03 AM
Problem uploading PDF Files - by El Forum - 01-08-2010, 07:07 AM
Problem uploading PDF Files - by El Forum - 01-08-2010, 07:36 AM
Problem uploading PDF Files - by El Forum - 01-08-2010, 07:55 AM
Problem uploading PDF Files - by El Forum - 02-02-2010, 03:15 PM
Problem uploading PDF Files - by El Forum - 02-02-2010, 04:32 PM
Problem uploading PDF Files - by El Forum - 04-25-2010, 04:19 AM
Problem uploading PDF Files - by El Forum - 04-25-2010, 06:42 AM
Problem uploading PDF Files - by El Forum - 04-28-2010, 09:55 AM
Problem uploading PDF Files - by El Forum - 07-27-2010, 09:28 AM
Problem uploading PDF Files - by El Forum - 01-24-2011, 03:38 AM
Problem uploading PDF Files - by El Forum - 01-24-2011, 10:34 AM
Problem uploading PDF Files - by El Forum - 07-20-2011, 02:39 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.