title: Upload csv is not uploaded to the server after generate
body: <p>I have this code :</p>
  
  <pre><code>$file = fopen('demosaved.csv', 'w+');
  
  fputcsv($file, array('Column 1', 'Column 2', 'Column 3', 'Column 4', 'Column 5'));
  
  $data = array(
     array('Data 11', 'Data 12', 'Data 13', 'Data 14', 'Data 15'),
     array('Data 21', 'Data 22', 'Data 23', 'Data 24', 'Data 25'),
     array('Data 31', 'Data 32', 'Data 33', 'Data 34', 'Data 35'),
     array('Data 1', 'Data 42', 'Data 43', 'Data 44', 'Data 45'),
     array('Data 51', 'Data 52', 'Data 53', 'Data 54', 'Data 55')
              );
  
     foreach ($data as $row)
     {
         fputcsv($file, $row);
     }
  
     fclose($file);
     move_uploaded_file($file, $campaignFolder.'/'.'test.csv');
  </code></pre>
  
  <p>My campaign folder is the full path to the folder, I tested and this directory has 777, but the folder is added in the root of project with the name <code>demosaved.csv</code>. I don't understand where the problem is. Please help me. What I'm doing wrong ?</p>